Creating vectors stings of letters such as names

1 回表示 (過去 30 日間)
KA
KA 2015 年 11 月 8 日
回答済み: dpb 2015 年 11 月 8 日
If my input was qwerty (for example) how do I convert this into a vector [q w e r t y]

採用された回答

dpb
dpb 2015 年 11 月 8 日
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 件)

カテゴリ

Help Center および File ExchangeString についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by