merge number and character
Mostra commenti meno recenti
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 Commento
Image Analyst
il 4 Mag 2012
Explain why you want that.
Risposta accettata
Più risposte (1)
Kye Taylor
il 4 Mag 2012
If
x = 3; y = '-';
merge with
[num2str(x),y]
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!