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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 4월 17일

답변:

2021년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by