Creating vectors stings of letters such as names
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
If my input was qwerty (for example) how do I convert this into a vector [q w e r t y]
0 Kommentare
Akzeptierte Antwort
dpb
am 8 Nov. 2015
It already is a vector--
>> s='qwerty';
>> whos s
Name Size Bytes Class Attributes
s 1x6 12 char
>> s(1)
ans =
q
>> s(1)
ans =
q
>>
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu String finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!