Borrar filtros
Borrar filtros

Creating vectors stings of letters such as names

1 visualización (últimos 30 días)
KA
KA el 8 de Nov. de 2015
Respondida: dpb el 8 de Nov. de 2015
If my input was qwerty (for example) how do I convert this into a vector [q w e r t y]

Respuesta aceptada

dpb
dpb el 8 de Nov. de 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
>>

Más respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by