photo

Jérôme


Last seen: 4 Monate vor Aktiv seit 2021

Followers: 0   Following: 0

Statistik

  • Knowledgeable Level 1
  • Thankful Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How to reshape an array horizontally
I know it's not the class used in que question, but it's just to share how to do it with strings. In case a string array is use...

7 Monate vor | 0

Beantwortet
If I try to use `sprintf` to format a string as numeric, why does a different number get passed?
When you write C='10'; C is a char array, i.e. an array with two elements of class char, which are '1' and '0'. These are cha...

etwa 2 Jahre vor | 0

Frage


How to reduce the file size of a saved histogram figure
In the following code, I have a histogram showing 100 bins, therefore the amount of data shown in this figure is quite small. Ho...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
When execute the below code ? the error message appear 'Index exceeds the number of array elements'?
M_h and M are string arrays because you used "". Here, you want to work with char arrays using '' (See for example these links f...

etwa 2 Jahre vor | 0

| akzeptiert

Frage


Plot alternatively between uitab of two figures
I want two figures, where each figure has several tabs, and I want to plot tab per tab alternatively between the two figures (i....

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
String Manipulation
Since R2016b, you can also use extractBefore. filename_with_extension = "abcdefhijklm.xlsx"; filename_without_extension = extr...

mehr als 2 Jahre vor | 0

Beantwortet
How to put in color a certain part of the background in a plot with matlab?
You can also use fill. In case you are using a legend on your plot, what is plotted with fill will be listed in the legend, whe...

mehr als 2 Jahre vor | 0

Frage


For loop faster than vectors?
I was thinking that for loops were usually slower than vector or matrix operations, but a simple example showed me the opposite....

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort