photo

Steeven


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


"Locale" issue. Danish created-date extracted from file
I am extracting the creation date of a file on my Windows 10 PC with the following code lines: fileInfo = dir(filePath); ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Keep figures invisible until for loop is over to reduce time duration
From numerous data files I extract a column and plot all those columns into one graph. I do this by looping through them all in ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Merging array into matrix of unequal size
A matrix |M| is preallocated with NaN's: M=NaN(4,3) NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN Then...

mehr als 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Preallocating cell array concent
I can preallocate the contents of a usual matrix/vector/array with test(1:8)=nan giving the result: <</matlabcentral/...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Can sections be skipped with something similar to "return" or "continue"?
In MatLab live scripts one can split the code into sections. This may be for a visual overview and also allows for running just ...

mehr als 6 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


Why is auto-scaling not following data on contour-plot?
I am creating two colour plots from matrix values, one with the *heatmap(...)* function and one with the *contourf(...)* functio...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Latex formatting on heatmaps (labels, title and all other text)
When creating a heatmap and a contour plot from the same table data with the code: xvalues = {'20 $^\circ$C','30 $^\circ$C'...

mehr als 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Add plot from figure window menu (no code)
Is it possible to add a curve to a graph directly from the menu in the figure window? That is, without writing code or using the...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


.fig file opens in non-editable way
I have a simple script that plots some data. The plots are shown on the screen as by default and I use the *saveas* function to ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Storing a range as a variable
Imagine the start and end values of a range being set from user input. They could be: a=3; b=10; To extract this rang...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to properly input a range in a vector
I have a code in this style: range=a:b; A(range); The *a* and *b* are set with the user's input via a prompt box (wit...

mehr als 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


What are other types of messages than warnings and errors?
So far I have been using just two methods for messaging to inform the user during the run of a script: The *warning()* function:...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Separating arguments by line break
When writing a function with arguments, can the arguments be separated by a line break in some way (in the same way that they ca...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort