image thumbnail

cell2num

version 1.0.0.0 (433 Bytes) by Darren
Used to convert 2 dimensional cell array of single numbers to a matrix.

6.7K Downloads

Updated 15 Jun 2007

No License

Function to convert an all numeric cell array to a double precision array
********************************************
Usage:
outputmatrix=cell2num(inputcellarray)
********************************************
Output matrix will have the same dimensions as the input cell array
Non-numeric cell contest will become NaN outputs in outputmat
This function only works for 1-2 dimensional cell arrays of single numbers

Cite As

Darren (2021). cell2num (https://www.mathworks.com/matlabcentral/fileexchange/15306-cell2num), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: CELL2FLOAT, Rosin-Rammler Diagram plotting tool

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!