Community Profile

photo

Jérôme


Last seen: 2 giorni fa Attivo dal 2021

Statistics

  • Knowledgeable Level 1
  • Thankful Level 2
  • First Answer

Visualizza badge

Content Feed

Visto da

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

4 mesi fa | 0

Domanda


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

4 mesi fa | 2 risposte | 0

2

risposte

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

5 mesi fa | 0

| accettato

Domanda


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

5 mesi fa | 1 risposta | 0

1

risposta

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

6 mesi fa | 0

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

6 mesi fa | 0

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta