Code covered by the BSD License  

Highlights from
cell2num.m

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.28 KB File ID: #24136

cell2num.m

by Phillip M. Feldman

 

17 May 2009

convert a cell array to a double precision array

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
18 May 2009 Jos (10584)

See CELL2FLOAT
http://www.mathworks.com/matlabcentral/fileexchange/19730

for a more flexible implementation.

And who is the author of this submission? Vasi or Feldman?

18 May 2009 us

why do you submit another author's (unaltered?) code - just
because it's a missing part of one of your own contributions...

http://www.mathworks.com/matlabcentral/fileexchange/24109

it would be more prudent to ask the author to submit it him/herself and then add it to the above...

us

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
cell array to array conversion Phillip M. Feldman 17 May 2009 19:20:25
get rgb value for matrix Ying 12 May 2011 20:56:31

Contact us at files@mathworks.com