Community Profile

photo

Steeven


Active since 2018

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


"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); ...

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 2 answers | 1

2

answers

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 1 answer | 2

1

answer

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 0 answers | 1

0

answers

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 2 answers | 1

2

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer