Feeds
質問
Graphics error has appeared in Linux - help me understand why.
I've been using MATLAB in Linux for plotting data for years, and for about 4 months with my current hardware/software setup I'...
7日 前 | 0 件の回答 | 0
0
回答質問
Downsampling array data from counts per minute to counts per hour
I have an evenly sampled array of data, say chickensPerMinute. I want to downsample this by a factor of 60 to return chickensPe...
29日 前 | 4 件の回答 | 0
4
回答回答済み
Put variable names into a cell array or string array
I found I way to do what I want. Is this so bad? S = whos( '-regexp', '^Varable' ); varables = extractfield( S, 'name' ); ...
Put variable names into a cell array or string array
I found I way to do what I want. Is this so bad? S = whos( '-regexp', '^Varable' ); varables = extractfield( S, 'name' ); ...
約1ヶ月 前 | 0
| 採用済み
回答済み
Put variable names into a cell array or string array
I feel put-upon by this thread. I am not a programmer, just a scientist who tries to use MATLAB to analyse data. Maybe I did p...
Put variable names into a cell array or string array
I feel put-upon by this thread. I am not a programmer, just a scientist who tries to use MATLAB to analyse data. Maybe I did p...
約1ヶ月 前 | 0
質問
Put variable names into a cell array or string array
I have a number of similarly named variables in my script, eg VarableAB VarableDEF VarableGHIJK : VarableZ How can I get a...
約1ヶ月 前 | 3 件の回答 | 0
3
回答回答済み
exportgraphics: adding a margin
Many thanks to you all. I gave up on this approach as I needed to specify sizes exactly. So there's a new question here: https:/...
exportgraphics: adding a margin
Many thanks to you all. I gave up on this approach as I needed to specify sizes exactly. So there's a new question here: https:/...
約1ヶ月 前 | 0
回答済み
Averaging non-aligned time-series arrays
Apologies for not acknowledging all your answers. You've been a great help. So, thanks very much.
Averaging non-aligned time-series arrays
Apologies for not acknowledging all your answers. You've been a great help. So, thanks very much.
約1ヶ月 前 | 0
質問
Specify "plot box" position for tiled layout
I am creating a png file from a plot and I need to specify the exact size of the figure and the plot area in pixels. I am using ...
約1ヶ月 前 | 1 件の回答 | 0
1
回答質問
Averaging non-aligned time-series arrays
I have four arrays of time series data, sampled at equal intervals. The arrays do not start or end at the same times. So I have ...
3ヶ月 前 | 3 件の回答 | 0
3
回答質問
Reading columns from a poorly-formatted text file
I need to read data from an old text file which has fixed columns for the data. I have tried using readtable, which was partly s...
3ヶ月 前 | 2 件の回答 | 0
2
回答質問
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...
4ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 1 件の回答 | 1
1
回答質問
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?
6ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
6ヶ月 前 | 1 件の回答 | 0
1
回答質問
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-...
6ヶ月 前 | 2 件の回答 | 0
2
回答質問
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...
6ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
How can I extract an array of numbers from a text-formatted cell array of strings.
Thanks. Both of you helped.
How can I extract an array of numbers from a text-formatted cell array of strings.
Thanks. Both of you helped.
6ヶ月 前 | 0
質問
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...
7ヶ月 前 | 3 件の回答 | 0
3
回答質問
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...
9ヶ月 前 | 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...
10ヶ月 前 | 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...
10ヶ月 前 | 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...
10ヶ月 前 | 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...
10ヶ月 前 | 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.
10ヶ月 前 | 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...
10ヶ月 前 | 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 ...
11ヶ月 前 | 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...
11ヶ月 前 | 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...
11ヶ月 前 | 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 ...
11ヶ月 前 | 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...
約1年 前 | 2 件の回答 | 0