Community Profile

photo

dormant


Last seen: Today Actif depuis 2020

Statistiques

  • Thankful Level 4

Afficher les badges

Content Feed

Afficher par

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

20 jours il y a | 3 réponses | 0

3

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

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

1

réponse

A répondu
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...

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

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

3

réponses

A répondu
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.

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

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

3

réponses

A répondu
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 ...

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

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

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

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

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

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

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

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

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

2

réponses

A répondu
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.

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

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

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

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

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

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

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

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

1

réponse

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

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

2

réponses

Question


Convert numeric 2D array to array of orders of values
I have an array of numbers, like this: positions = 14 25 65 20 16 15 17 16 14 26 46 ...

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

1

réponse

Question


Problems reading datetimes with readtable
I have a bunch of text files with dates and times. Some of them are like this (there is a space at the end of each line): 2022...

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

1

réponse

A répondu
Calculate spectrogram with logarithmic-spaced frequencies
After some more research, I think it's impossible to do what I want with the spectrogram function. I think it only works with a ...

environ un an il y a | 0

| A accepté

Question


Calculate spectrogram with logarithmic-spaced frequencies
I'm trying to calculate a spectrogram where the frequencies are logarithmicaly spaced, instead of the usual linear. I think my ...

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

2

réponses

Question


Error in script using copylink
I have a matlab script that runs as a cron job on Linux. A few days ago, the script started failing. I traced it to the copylink...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


yyaxis 'right' - can I have tick marks on both sides?
I'm creating a figure to illustrate data availability/quality. It's one plot with no subplots. See attached. I add a small plot...

plus d'un an il y a | 1 réponse | 0

0

réponse

Charger plus