photo

dormant


Last seen: Today Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


Compare times in datetimes
How can I compare only the time part of a datetime value? I have an array of datetimes: DT.Format = 'yyyy-MM-dd HH:mm:ss'; Ho...

13 hours ago | 1 answer | 0

1

answer

Question


Make histogram for array of datetimes
I have a datetime array: trigDatetime = 1273×1 datetime array 2024-04-30 01:15:34 2024-04-30 01:19:27 2024-...

9 days ago | 2 answers | 0

2

answers

Question


Add duration object to datetime object to get new datetime object
I'm reading a text file that looks like this: 2024-05-11 00:34:35 1.2 sta/lta 2.0 8.0 3.5 2.5 max 363.3 rms 12...

10 days ago | 1 answer | 0

1

answer

Question


How can I extract an array of numbers from a text-formatted cell array of strings.
I have read some data from a spreadsheet. The values are times, but formatted with s, m or h as a suffix to indicate seconds, mi...

29 days ago | 3 answers | 0

3

answers

Question


Importing an image into a figure - aliasing problem.
I'm trying to import an image into a tiled figure, so I can compare it with some data. The imported image is clearly aliased. I...

3 months ago | 1 answer | 0

1

answer

Question


Reading ping output using readtable
I'm creating a text file with ping results (on Linux) that looks like this (timestamp at start). PING 172.17.102.60 (172.17.102...

4 months ago | 2 answers | 0

2

answers

Question


Simple plot GUI with scrolling time axis
Is there a simple way to turn a script that creates a single plot into a GUI where the x axis (time) has a scroll bar and a zoom...

4 months ago | 1 answer | 0

1

answer

Answered
whos - I can't capture the output
Thank you to all answerers. The problem turned out to be something that I could not diagnose with whois. The "culprit" was usin...

4 months ago | 0

Question


whos - I can't capture the output
I need to debug a script that has memory issues. So I decided to use whos to print out the largest variables while it is running...

4 months ago | 3 answers | 0

3

answers

Answered
Readtable having problems with text files
Many thanks to both answerers. I thought I was going to have to do it the old-fashioned way, line-by-line.

4 months ago | 0

Question


Readtable having problems with text files
EDIT: running the code here I'm trying to read several hundred text files using readtable. Each file has six numeric columns (d...

4 months ago | 3 answers | 0

3

answers

Answered
xline - draw a partial line
I decided on an alternative approach. I plotted the data again with another axis with tick marks where my xlines would be. I'm ...

4 months ago | 0

Question


xline - draw a partial line
Is there an easy way to get an xline plot for an array of X values, but with the line only taking up the first or last 10% of th...

5 months ago | 4 answers | 0

4

answers

Question


How can I sort cell arrays along with vectors?
I am getting very confused by all the documentation on sorting in MATLAB, so can someone please answer this very specific questi...

5 months ago | 1 answer | 0

1

answer

Question


Creating a "clock" plot, like polarplot.
Is it possible to create a polar-like plot or histogram where the theta values are in minutes between 0 and 60? I can do it by ...

5 months ago | 1 answer | 0

1

answer

Question


Calculate median values of slices of array associated with histogram bins
I have an array (array1) which I want to put into histogram bins. I have a second array (array2) which is the same length. I ca...

6 months ago | 2 answers | 0

2

answers

Question


Unable to read datetime with format "0600 UTC OCT 25"
When I import data from a kml file using readtable, it stores the date and time in a string array called Name formatted like thi...

7 months ago | 2 answers | 0

2

answers

Question


stem plot line width inconsitencies
I can't understand why I can't set the line width consistently with the stem plot. I am plotting four subplots in a loop and th...

7 months ago | 1 answer | 0

1

answer

Question


readtable with datetime, format problem
I continue to struggle with datetime, having spent years using datenum. I'm using readtable to read in a .csv file that has bee...

7 months ago | 2 answers | 0

2

answers

Question


Convert array of numbers to an array of padded strings
I have an array of numbers to convert to an array of strings. >> stanums = 7:12; >> stastrings = string( stanums ); stanums =...

8 months ago | 2 answers | 0

2

answers

Answered
Determine adjacent points in a logical matrix
Thanks everyone. I knew it would be trivial, but I don't have much experience with manipulating 2D arrays.

9 months ago | 0

Question


Determine adjacent points in a logical matrix
I have a 2-D matrix of logical values, eg 000000000 010000000 000000000 000000000 000000000 000001000 000000000 00000000...

9 months ago | 2 answers | 0

2

answers

Question


Can I draw a section of a polar plot?
Is it possible to draw only part of a polar plot? That is, when the centre of the plot is outside the viewed plot. I have a plo...

9 months ago | 1 answer | 0

1

answer

Question


Scatter plot with variable symbol size - it's not linear
I'm trying to use the feature in the scatter plot where the symbol size is proportional to a variable and it seems that the scal...

10 months ago | 1 answer | 0

1

answer

Question


Extracting arrays from a structure - different number of array elements
I am having problems extracting arrays from a structure that I created. One of the fields returns a different number of values. ...

1 year ago | 1 answer | 0

1

answer

Question


How can I line up plot edges in subplots?
I want to use subplots to show three orthogonal views of 3D data (latitude,longitude and depth). I need the plots to line up wit...

1 year ago | 2 answers | 0

2

answers

Question


mapshow - I can't seem to plot a geoTIFF
I'm trying to plot a geoTIFF image using mapshow. The file seems fine. >> georasterinfo(filename) ans = RasterInfo with ...

1 year ago | 1 answer | 0

1

answer

Question


Problem adding text to plot, background color doesn't work properly
I have encountered a problem using text to put labels inside a plot. I set the background colour to white. This works when I wri...

1 year ago | 1 answer | 0

1

answer

Question


Merging strings in a table
I'm trying to merge two columns in a table. I tried this: L = readtable( fileLog ); L2 = mergevars(L,["Var2","Var3"]); But th...

1 year ago | 2 answers | 0

2

answers

Load more