Feeds
提问
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...
4 hours 前 | 2 个回答 | 0
2
个回答提问
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...
2 months 前 | 1 个回答 | 0
1
个回答提问
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...
3 months 前 | 2 个回答 | 0
2
个回答提问
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...
3 months 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
3 months 前 | 0
提问
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...
3 months 前 | 3 个回答 | 0
3
个回答已回答
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.
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.
3 months 前 | 0
提问
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...
3 months 前 | 3 个回答 | 0
3
个回答已回答
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 ...
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 前 | 0
提问
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...
4 months 前 | 4 个回答 | 0
4
个回答提问
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...
4 months 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 months 前 | 1 个回答 | 0
1
个回答提问
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...
5 months 前 | 2 个回答 | 0
2
个回答提问
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...
6 months 前 | 2 个回答 | 0
2
个回答提问
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...
6 months 前 | 1 个回答 | 0
1
个回答提问
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...
6 months 前 | 2 个回答 | 0
2
个回答提问
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 =...
7 months 前 | 2 个回答 | 0
2
个回答已回答
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.
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.
8 months 前 | 0
提问
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...
8 months 前 | 2 个回答 | 0
2
个回答提问
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...
8 months 前 | 1 个回答 | 0
1
个回答提问
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...
9 months 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 ...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答已回答
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 ...
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 ...
1 year 前 | 0
| 已接受
提问
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 ...
1 year 前 | 2 个回答 | 1