Conversion error while plotting

1 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by