Conversion error while plotting

2 views (last 30 days)
Charles
Charles on 17 Jun 2014
Edited: Charles on 17 Jun 2014
EDU>> h1=plot(x,y,'ko','MarkerFaceColor','k'); Error using plot Conversion to double from cell is not possible.
Why?
(the picture shows the code as entered)

Accepted Answer

Youssef  Khmou
Youssef Khmou on 17 Jun 2014
change the cell to vector :
y=cell2mat(y);

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!