Borrar filtros
Borrar filtros

creating an string array

1 visualización (últimos 30 días)
riley collins
riley collins el 9 de Mayo de 2018
Comentada: Walter Roberson el 24 de Jun. de 2020
ive a random string input and i want it indext in thress int an arry i can acsess later
.eg Array[1] = input(1:3)
gaining a out put of say ['qwe', 'igc', 'top']
then i want to acsess this as say
disp(Array[1])
qwe
please help i cannot figure out what im doing wrong?
  2 comentarios
Walter Roberson
Walter Roberson el 9 de Mayo de 2018
Which programming language are you using? It does not appear to be MATLAB.
Walter Roberson
Walter Roberson el 24 de Jun. de 2020
Array = ["qwe", "igc", "top"];
Array(1)

Iniciar sesión para comentar.

Respuestas (1)

AKARSH KUMAR
AKARSH KUMAR el 24 de Jun. de 2020
Your question is not clear, can you please explain it more clearly.

Categorías

Más información sobre Multidimensional Arrays 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