Community Profile

photo

Jérôme


Last seen: Today Aktiv seit 2021

Followers: 0   Following: 0

Statistiken

  • Knowledgeable Level 1
  • Thankful Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als ein Jahr 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...

mehr als ein Jahr 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...

mehr als ein Jahr 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....

mehr als ein Jahr 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 ein Jahr 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 ein Jahr 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....

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort