in between two points

How can I write that there are ten '*'s between two points? How can I do this? plot

2 Commenti

you mean string?
s = ['a' repmat('*',1,10) 'b'];
Or you want to plot something?
Olawale Ikuyajolu
Olawale Ikuyajolu il 2 Mag 2020
write as a title or what?

Accedi per commentare.

Risposte (1)

Olawale Ikuyajolu
Olawale Ikuyajolu il 2 Mag 2020
string = 'a{\ast \ast \ast \ast}b'

4 Commenti

Image Analyst
Image Analyst il 2 Mag 2020
???
>> string = 'a{\ast \ast \ast \ast}b'
string =
'a{\ast \ast \ast \ast}b'
darova
darova il 2 Mag 2020
the answer is unclear. Can you explain more?
Should be like this
'a^{\ast\ast\ast\ast}b'
for text title('') in plot and text on a plot
st = ['a^{', repmat('\ast', 1, 10), '}b']

Accedi per commentare.

Categorie

Richiesto:

il 2 Mag 2020

Modificato:

il 9 Mag 2020

Community Treasure Hunt

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

Start Hunting!

Translated by