Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Simple interactive plot with variable time axis
I have a plot containing three subplots, all of which have date/time as the x axis. Whats the easiest way of making this plot i...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Calcuating equally-spaced sums from unevenly-spaced time-series data
I need to create an equally-spaced vector of values which are the sums from a vector of unequally-spaced values. More specifica...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I add an index value to an array value?
I have an array of reals, like this. 0.1 0.1 0.1 0.1 0.2 0.2 0.2 0.2 0.1 0.2 0.3 0.4 How can I add the horizontal i...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Default date format for plot tick labels
Is it possible to set a default format for datetick labels? Sometimes MATLAB gives me "mm/dd" when I prefer "dd/mm". I could e...

etwa 4 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Readtable gives unusual results reading data from a text file.
I'm trying to read a lot of text files using readtable. All the files have 7 columns of data, although the last column is usuall...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Testing for a string in a cell array in a structure
I want to find the matches to a string in a cell array of strings which is part of a structure. Strcmp works when I give it th...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


spectrogram - auto settings for zlim are too wide
Using the spectrogram function, the zlim settings that are created automatically seem to be too wide for my data. The resulting ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


datenum on array of values - specifying the format
I can't seem to specify the format for datenum when I passi an array of values. Here is a snippet of my code: formatIn = 'dd/m...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Reading dates/times from a text file
I want to read all the dates and times from a text file into an array of serial date numbers. I've always done this in the past...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


exportgraphics: adding a margin
Is it possible to add a margin to figures saved using the exportgraphics function? It crops a tad too tightly for my needs.

fast 5 Jahre vor | 5 Antworten | 6

5

Antworten

Frage


How can I correct for gaps in an supposedly evenly spaced array
I have two one-dimensional arrays, data and datim, the latter containing date values. These are large arrays containing a days w...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Where are the default font settings for sgtitle?
I'm trying to set default values to apply to number of plots, like this set(groot,'DefaultAxesFontSize', 20); ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


External GPU (MacOS) makes Help painfully slow
I have added an external Radeon RX 570 GPU to my 2019 MacBook Pro running MacOS Catalina. I enabled "Prefer external GPU" in Ge...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I implement an associative array?
What is the best (ie simplest) way to implement an associative array (in Perl, a hash) in MATLAB? I have a number of keys (stri...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Locating adjacent identical elements in string array
I want to find the positions and number of identical adjacent elements in a string array. I worked out how to count the number ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort