Convert Cell to Number for Plotting

9 views (last 30 days)
I have 2 cell arrays of data that I'm trying to convert to a numerical value and plot. The cell array output is:
a = '1'
b = '1'
I have tried cell2mat but I received an error.
Thanks, Amanda

Accepted Answer

Jonathan Sullivan
Jonathan Sullivan on 24 Apr 2013
help str2double
doc str2double

More Answers (0)

Community Treasure Hunt

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

Start Hunting!