How do I convert a numeric cell array with different data types to a matrix in MATLAB 8.1 (R2013a)?
Show older comments
I have a cell array in which certain cells contain NaNs which are represented as doubles whereas other cells contain numbers represented by single data type. I would like to convert the cell to a matrix to proceed further computations on it however MATLAB does not allow converting cell arrays with different data-types to a matrix.
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion 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!