# JohnGalt

Actif depuis 2016

Followers: 0   Following: 0

All

#### Feeds

Afficher par

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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 = ...

plus de 5 ans il y a | 0

Réponse apportée
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>

plus de 5 ans il y a | 0

Réponse apportée
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....

plus de 5 ans il y a | 0

Réponse apportée
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...

presque 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 4

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 0

Réponse apportée
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...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
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; ...

environ 7 ans il y a | 0

Réponse apportée
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... ...

environ 7 ans il y a | 0

| A accepté

A soumis

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

environ 8 ans il y a | 1 téléchargement |

Réponse apportée
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...

environ 8 ans il y a | 0

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

environ 8 ans il y a | 0

Réponse apportée
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...

environ 8 ans il y a | 0

| A accepté

A soumis

NiallHurley/MySQL_Matlab
A class for querying/fetching/executing on a MySQL database using JDBC connector.

environ 8 ans il y a | 1 téléchargement |