No numeric data plot x axis

1 次查看(过去 30 天)
Tiago Araujo
Tiago Araujo 2021-4-17
I am trying to solve this:
syms X L
X = 0:L/16:L;
Y = 1 + 2*X;
plot (X,Y);
And appears the error:
Error using plot
Data must be numeric, datetime, duration or an array convertible to double.
  1 个评论
Walter Roberson
Walter Roberson 2021-4-18
Duplicate of https://www.mathworks.com/matlabcentral/answers/805161-non-numeric-data-x-plot?s_tid=srchtitle which has an answer

请先登录,再进行评论。

回答(1 个)

Tiago Araujo
Tiago Araujo 2021-4-21

类别

Help CenterFile Exchange 中查找有关 Assumptions 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by