필터 지우기
필터 지우기

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 CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by