cell2num
Version 1.0.0.0 (433 Bytes) by
Darren
Used to convert 2 dimensional cell array of single numbers to a matrix.
6.9K 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 (2026). cell2num (https://ch.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 LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
- MATLAB > Language Fundamentals > Data Types > Data Type Conversion >
Find more on Cell Arrays in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: CELL2FLOAT, Rosin-Rammler Diagram plotting tool
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
