photo

dormant


Last seen: Today Actif depuis 2020

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 4

Afficher les badges

Feeds

Afficher par

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?

15 jours il y a | 1 réponse | 0

1

réponse

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

19 jours il y a | 1 réponse | 0

1

réponse

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

27 jours il y a | 2 réponses | 0

2

réponses

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

29 jours il y a | 1 réponse | 0

1

réponse

Réponse apportée
How can I extract an array of numbers from a text-formatted cell array of strings.
Thanks. Both of you helped.

29 jours il y a | 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...

environ 2 mois il y a | 3 réponses | 0

3

réponses

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 mois il y a | 1 réponse | 0

1

réponse

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 mois il y a | 2 réponses | 0

2

réponses

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

5 mois il y a | 1 réponse | 0

1

réponse

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

5 mois il y a | 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...

5 mois il y a | 3 réponses | 0

3

réponses

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

5 mois il y a | 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...

5 mois il y a | 3 réponses | 0

3

réponses

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

5 mois il y a | 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 mois il y a | 4 réponses | 0

4

réponses

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 mois il y a | 1 réponse | 0

1

réponse

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

6 mois il y a | 1 réponse | 0

1

réponse

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

7 mois il y a | 2 réponses | 0

2

réponses

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

8 mois il y a | 2 réponses | 0

2

réponses

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

8 mois il y a | 1 réponse | 0

1

réponse

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

8 mois il y a | 2 réponses | 0

2

réponses

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

9 mois il y a | 2 réponses | 0

2

réponses

Réponse apportée
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 mois il y a | 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 mois il y a | 2 réponses | 0

2

réponses

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

10 mois il y a | 1 réponse | 0

1

réponse

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 mois il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

Charger plus