Trying to find row numbers from array inside cell array entry
Afficher commentaires plus anciens
I'm trying to access data in a matrix inside of a cell array to reference it later. The data won't convert into a matrix using cell2mat because all the variables inside are numbers that extract as character vectors. Using str2num on the data doesnt work either. How can I get the matrix out of the cell array so I can access and reference it? I've been using the following extraction command:
Extraction code:
[data, delimiterOut, headerlinesOut]=importdata(filename);
The file I'm extracting from is a tab-delimited text file.
4 commentaires
dpb
le 20 Mai 2021
Have to see the file to be able to tell anything for sure
Cameron LaCourse
le 21 Mai 2021
Stephen23
le 21 Mai 2021
@Cameron LaCourse: please upload the input data file. So far we have nothing to work with.
Cameron LaCourse
le 23 Mai 2021
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!