Convert cell array with different data type to a matrix in MATLAB
19 views (last 30 days)
Show older comments
I imported an excel sheet on matlab in which some columns are characterized by different data, such as numeric values separated by a slash (e.g. 7/8) and normal numeric values . The "cell2mat" command transforms only columns containing the same type of data. What can I do for the remaining columns?
3 Comments
Answers (1)
Divya Gaddipati
on 5 Mar 2020
A similar question has already been answered by the community which might be of relevance to you. Please refer to the following link:
Hope this helps!
See Also
Categories
Find more on Logical 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!