# JohnGalt

Followers: 0   Following: 0

All

Ver insignias

#### Feeds

Ver por

Respondida
How can I color a (circle) area in a scatterplot?
I don't have access to the scatterplot function but the technique you're looking for is called logical indexing... where you set...

más de 5 años hace | 0

Respondida
How to convert date and time present in same cell to a matrix having all values in elongated form like Y, M, D, H, Mi, S?
datevec(datestr('1/17/2018 16:20:37','dd/mm/yyyy HH:MM:SS')) and more generally dts = {'1/17/2018 16:20:37', '1/17...

más de 5 años hace | 1

Respondida
I have to plot all the signals in one figure
if you want a new window for every for-loop try: function pushbutton2_Callback(hObject, eventdata, handles) % hObject ...

más de 5 años hace | 0

Respondida
Write a function SumNthRowSquares(M,n) that returns the sum of the squares of the numbers in the nth row of matrix M. Use ‘sum’ only to sum a vector. In other words, retrieve the appropriate row and sum it.
I presume you want the actual function? if so, save the following to a file. function out = SumNthRowSquares(M,n) out = ...

más de 5 años hace | 0

Respondida
make array of array like array within array
look into the 'cat' command in matlab help <https://uk.mathworks.com/help/matlab/ref/cat.html>

más de 5 años hace | 0

Respondida
Place several plots in perspective to show time evolution
typically when I have something like this i make a 'movie' by plotting into one window and updating the plot in a for loop... e....

más de 5 años hace | 0

Respondida
how to output last sample of every 16 samples
Not sure if I understand the question correctly but if you have an array myArray = 1:81; you can get every 16th value us...

casi 6 años hace | 0

Respondida
how to move text away from axis?
This may not be the most elegant solution but it is easily tailorable - if you don't rotate the lables you can append some white...

alrededor de 6 años hace | 0

Respondida
how to round number in table to two digit number
If it's just a quick cleanup of the display of the numbers, you could just round the data in the table directly e.g. array...

alrededor de 6 años hace | 4

Respondida
Programmatically change wallpaper in Windows 10?
this can be done with a '.cmd' file... which can be executed from the matlab command window using 'system()' ... this starts by...

alrededor de 7 años hace | 0

Respondida
Rename a file while copying
hmm... ok so I'd recommend using 'dir' which returns a structure (see matlab help) ... also, look at the function 'fullfile' whi...

alrededor de 7 años hace | 0

Respondida
Find max/min while ignoring data spikes
it looks like '-1' is some specific value which you want to ignore... so you remove all '-1's from the array before you calculat...

alrededor de 7 años hace | 0

Respondida
How to use a batch mode to import files?
From this: files = dir('C:\Users\Deakin Uni\Documents\MATLAB\a\*1*'); it looks like you're only loading the first one... s...

alrededor de 7 años hace | 0

Respondida
How do i skip the first 4 rows and create a diagram from the values?
*skipping the first 4 rows*... rather than use the colon operator (':') by itself... use ('5:end') for example a = 1:8; ...

alrededor de 7 años hace | 0

Respondida
Applying monthly coefficients to daily data
The key to a simpler and faster implementation of this is knowing that you can construct an array using an array of indices... ...

alrededor de 7 años hace | 0

NiallHurley/PipeData_ToFrom_Matlab
Server and Client Classes for passing data from one instance of Matlab to another using a .NET pipe

alrededor de 8 años hace | 1 descarga |

Respondida
How to delete a record from mysql database from matlab?
Use this (doesn't require the database toolbox): <http://www.mathworks.com/matlabcentral/fileexchange/57195-niallhurley-mysql-m...

alrededor de 8 años hace | 0

Respondida
i have problem when i would rotate xlabel of bar graph on matlab
<http://www.mathworks.com/matlabcentral/fileexchange/3486-xticklabel-rotate>

alrededor de 8 años hace | 0

Respondida
How can I read a specified, comma seperated text (txt) file line-byline?
Now, you say that you'd like the 3 numerical values which can be obtained by: fileID=fopen('data.txt','r'); % I've remo...

alrededor de 8 años hace | 0