Creating vectors stings of letters such as names

1 vue (au cours des 30 derniers jours)
KA
KA le 8 Nov 2015
Réponse apportée : dpb le 8 Nov 2015
If my input was qwerty (for example) how do I convert this into a vector [q w e r t y]

Réponse acceptée

dpb
dpb le 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
>>

Plus de réponses (0)

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by