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 Kommentare

Walter Roberson
Walter Roberson am 9 Mai 2018
Which programming language are you using? It does not appear to be MATLAB.
Array = ["qwe", "igc", "top"];
Array(1)

Melden Sie sich an, um zu kommentieren.

Antworten (1)

AKARSH KUMAR
AKARSH KUMAR am 24 Jun. 2020

0 Stimmen

Your question is not clear, can you please explain it more clearly.

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 9 Mai 2018

Kommentiert:

am 24 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by