cell2num.m

convert a cell array to a double precision array
2.9K Downloads
Updated 17 May 2009

View License

This function converts a cell array to a double precision array.

Usage: output= cell2num(inputcellarray)

The output array will have the same dimensions as the input cell array. Non-numeric cell contents are converted to NaNs in output.

Written by Nishaat Vasi, Application Support Engineer, The MathWorks

Cite As

Phillip M. Feldman (2024). cell2num.m (https://www.mathworks.com/matlabcentral/fileexchange/24136-cell2num-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Cell Arrays in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0