merge number and character
Mostrar comentarios más antiguos
hi, how i can merge this x=3 y='-'
when do z=[x y] i get z =
- this symbol is appearing as square in command of matlab i need the result be 3 - how get that?
thanks
1 comentario
Image Analyst
el 4 de Mayo de 2012
Explain why you want that.
Respuesta aceptada
Más respuestas (1)
Kye Taylor
el 4 de Mayo de 2012
If
x = 3; y = '-';
merge with
[num2str(x),y]
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!