How to Delete Non-Numeric Columns from Table
Show older comments
I'm using readtable to load data from a text file. Some columns have text in them; others don't. I want to effectively delete the columns that have at least one entry of non-numeric data, so that I can convert the remaining table to an array (using table2array).
How can I do this?
1 Comment
Andrew Reibold
on 29 Jul 2014
Edited: Andrew Reibold
on 29 Jul 2014
Can you please provide an example of the readtable output? :-)
Accepted Answer
More Answers (0)
Categories
Find more on Tables in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!