writing a string

 Respuesta aceptada

the cyclist
the cyclist el 3 de Jul. de 2011

0 votos

['Panel A: range(',num2str(A)','-',num2str(B),')']

Más respuestas (1)

per isakson
per isakson el 3 de Jul. de 2011

0 votos

I prefer
sprintf( 'Panel A: range(%u-%u)', A, B )
because I make fewer mistakes using that style
- per

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by