Community Profile

photo

Jérôme


Last seen: Today Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 1
  • Thankful Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
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...

3 jours il y a | 0

A répondu
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...

plus d'un an il y a | 0

Question


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

plus d'un an il y a | 2 réponses | 0

2

réponses

A répondu
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...

plus d'un an il y a | 0

| A accepté

Question


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

plus d'un an il y a | 1 réponse | 0

1

réponse

A répondu
String Manipulation
Since R2016b, you can also use extractBefore. filename_with_extension = "abcdefhijklm.xlsx"; filename_without_extension = extr...

plus d'un an il y a | 0

A répondu
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...

plus d'un an il y a | 0

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse