photo

dormant


Last seen: 4 days ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


Extract two floating point numbers from a string
This should be easy, but I have no experience with MATLAB regexp or pattern and can't adapt the other answers about extracting n...

3 days ago | 2 answers | 0

2

answers

Question


MATLAB wont start on Linux. It did yesterday.
I use MATLAB on Linux every day. It wouldn't start this morning, reporting a memory problem. I rebooted which didn't fix anythin...

4 days ago | 1 answer | 1

1

answer

Question


Plot legend with 2-d layout
Is it possible to do four (or more) plots using hold on and then create a legend that has a 2-d layout like this?

2 months ago | 1 answer | 0

1

answer

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

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

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

2 months ago | 1 answer | 0

1

answer

Answered
How can I extract an array of numbers from a text-formatted cell array of strings.
Thanks. Both of you helped.

2 months ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

Load more