No numeric data plot x axis
3 次查看(过去 30 天)
显示 更早的评论
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
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!