How do I convert a numerical array to a char array?
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Say I have a matrix
A = [ 0 0 0 0 0 0 0 1 ;
0 0 0 0 0 0 1 0 ]
How would I convert this to a character array such as
B = ['00000001';
'00000010]
I am looking for something that does the opposite of
A = B - '0';
0 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Data Type Conversion in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!