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
Phillip M. Feldman (2021). cell2num.m (https://www.mathworks.com/matlabcentral/fileexchange/24136-cell2num-m), MATLAB Central File Exchange. Retrieved .
Inspired: Flotation kinetics - equation fitting, Flotation kinetics - modeling
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
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
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?