Effacer les filtres
Effacer les filtres

in between two points

2 vues (au cours des 30 derniers jours)
melik matas
melik matas le 2 Mai 2020
Modifié(e) : melik matas le 9 Mai 2020
How can I write that there are ten '*'s between two points? How can I do this? plot
  2 commentaires
darova
darova le 2 Mai 2020
you mean string?
s = ['a' repmat('*',1,10) 'b'];
Or you want to plot something?
Olawale Ikuyajolu
Olawale Ikuyajolu le 2 Mai 2020
write as a title or what?

Connectez-vous pour commenter.

Réponses (1)

Olawale Ikuyajolu
Olawale Ikuyajolu le 2 Mai 2020
string = 'a{\ast \ast \ast \ast}b'
  4 commentaires
Olawale Ikuyajolu
Olawale Ikuyajolu le 2 Mai 2020
Should be like this
'a^{\ast\ast\ast\ast}b'
for text title('') in plot and text on a plot
Walter Roberson
Walter Roberson le 2 Mai 2020
st = ['a^{', repmat('\ast', 1, 10), '}b']

Connectez-vous pour commenter.

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by