cell2num.m

convert a cell array to a double precision array

You are now following this Submission

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 (2026). cell2num.m (https://uk.mathworks.com/matlabcentral/fileexchange/24136-cell2num-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0