Filter löschen
Filter löschen

Conversion error while plotting

1 Ansicht (letzte 30 Tage)
Charles
Charles am 17 Jun. 2014
Bearbeitet: Charles am 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)

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by