Community Profile

photo

JohnGalt


20 total contributions since 2016

null

Contact

JohnGalt's Badges

  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
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...

12 mesi 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...

12 mesi 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 ...

12 mesi 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 = ...

12 mesi 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>

12 mesi 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....

12 mesi 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...

circa un anno 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...

oltre un anno 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...

oltre un anno ago | 0

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

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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; ...

oltre 2 anni 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... ...

oltre 2 anni 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

oltre 3 anni ago | 0 downloads |

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

oltre 3 anni 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>

oltre 3 anni 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...

oltre 3 anni ago | 0

| accepted

Submitted


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

oltre 3 anni ago | 4 downloads |