Creating vectors stings of letters such as names

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by