Community Profile

photo

JohnGalt


Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 2
  • First Submission
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 1

| accepted

Answered
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 ...

5 years ago | 0

Answered
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 = ...

5 years ago | 0

Answered
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>

5 years ago | 0

Answered
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....

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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...

6 years ago | 0

Answered
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...

6 years ago | 4

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

Answered
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...

7 years ago | 0

| accepted

Answered
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; ...

7 years ago | 0

Answered
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... ...

7 years ago | 0

| accepted

Submitted


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

8 years ago | 1 download |

Answered
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...

8 years ago | 0

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

8 years ago | 0

Answered
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...

8 years ago | 0

| accepted

Submitted


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

8 years ago | 1 download |