How to define and store string to matrix or array
55 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jaffrey Hudson Immanuel Jeyakumar
il 24 Lug 2019
Risposto: Jaffrey Hudson Immanuel Jeyakumar
il 24 Lug 2019
Hi,
I have a variable x inside a for loop ,
Input,
In first intration, x='apple'
In second iteration, x= 'mango'
In third interation, x= 'orange'
---------------------------------------
for i=1:3
x='apple';
end
--------------------------------------
I want to store these strings in a matrix or array and write them to a excel file.
Can anyone, tell me how to do ?
Regards,
Jaffrey Hudson
0 Commenti
Risposta accettata
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!