Feeds
질문
Plotting, how can I stop fill hiding the tickmarks?
I'm making a complex plot, and using the fill command to create a patchy background for the plot. But I don''t seem to be able ...
4개월 전 | 답변 수: 1 | 1
1
답변질문
Summing two vectors with NaNs
I need to sum two vectors that might contain NaNs. If one vector has a Nan and the other has a number, I want the sum to be the ...
5개월 전 | 답변 수: 2 | 0
2
답변질문
datetime - can I fix wrongly encoded datetimes from Excel?
I have to read an Excel spreadsheet into MATLAB. The spreadsheet is not mine. Someone, at some point in updating this spreadshe...
5개월 전 | 답변 수: 0 | 0
0
답변질문
Linux ssh: can I redirect only the MATLAB plot windows with X-forwarding?
I often use ssh -X (on Linux and MacOS) to run graphical programs remotely and see the output on my screen with X-forwarding. I...
6개월 전 | 답변 수: 1 | 0
1
답변답변 있음
Plot legend contours messed up
After a bit of fiddling it was clear that my overall approach was totally wrong. My script had three tiled subplots and I was d...
Plot legend contours messed up
After a bit of fiddling it was clear that my overall approach was totally wrong. My script had three tiled subplots and I was d...
6개월 전 | 0
| 수락됨
답변 있음
Why cant I post a question?
Thanks everyone for your help. I tried reposting the question. It worked! I guess I had a choppy network or something. Again...
Why cant I post a question?
Thanks everyone for your help. I tried reposting the question. It worked! I guess I had a choppy network or something. Again...
6개월 전 | 0
| 수락됨
질문
Plot legend contours messed up
I am creating a plot where the data to be plotted is calculated from data in a set of text files. The data is grouped for plotti...
6개월 전 | 답변 수: 2 | 1
2
답변질문
Why cant I post a question?
I'm trying to post a question here. Something I've done many times. I'm using Firefox on Ubuntu Linux. Every time I hit the Pos...
6개월 전 | 답변 수: 1 | 0
1
답변질문
Can I set a datetime locale for readtable in a script?
I am having problems reading datetimes with readtable. This is on a set of csv files where the date and time formats differ slig...
7개월 전 | 답변 수: 1 | 0
1
답변질문
Bar plot doesn't accept width of 1.0
This is really puzzling me. I am plotting two datetime time series with the bar function, with the width set to 1.0. But one of...
9개월 전 | 답변 수: 1 | 0
1
답변질문
Linux -nosplash doesn't work
I want to run a MATLAB script in Linux over ssh, so would like to remove this text that I normally see when running from the com...
9개월 전 | 답변 수: 1 | 0
1
답변질문
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'...
10개월 전 | 답변 수: 1 | 0
1
답변질문
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...
11개월 전 | 답변 수: 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' ); ...
11개월 전 | 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...
11개월 전 | 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...
11개월 전 | 답변 수: 2 | 0
2
답변답변 있음
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:/...
11개월 전 | 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.
11개월 전 | 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 ...
11개월 전 | 답변 수: 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 ...
대략 1년 전 | 답변 수: 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...
대략 1년 전 | 답변 수: 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...
대략 1년 전 | 답변 수: 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...
대략 1년 전 | 답변 수: 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?
1년 초과 전 | 답변 수: 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...
1년 초과 전 | 답변 수: 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-...
1년 초과 전 | 답변 수: 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...
1년 초과 전 | 답변 수: 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.
1년 초과 전 | 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...
1년 초과 전 | 답변 수: 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...
1년 초과 전 | 답변 수: 1 | 0