How to put a name on each double variable in a cell array"
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi guys,
I am trying to load all the data, as a numberic array, into a cell array K, but I wand to be able to identity which file the data came from which require me to name all numeric array in the cell array. How can I do that?
0 Commenti
Risposta accettata
James Tursa
il 12 Mar 2020
You could have an associated cell array for the file names. E.g.,
fnames{i,j} = fn;
2 Commenti
James Tursa
il 12 Mar 2020
Modificato: James Tursa
il 12 Mar 2020
K{i,j,1} = t; % although K{i,j} = t will do the same thing
K{i,j,2} = fn;
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Types 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!