Trying to find row numbers from array inside cell array entry
Show older comments
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 Comments
dpb
on 20 May 2021
Have to see the file to be able to tell anything for sure
Cameron LaCourse
on 21 May 2021
Stephen23
on 21 May 2021
@Cameron LaCourse: please upload the input data file. So far we have nothing to work with.
Cameron LaCourse
on 23 May 2021
Accepted Answer
More Answers (0)
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!