plot the graph y=x+sinx.

조회 수: 8 (최근 30일)
Bhavani Singh Yadav
Bhavani Singh Yadav 2016년 10월 31일
답변: Kamal Dissanayaka 2020년 10월 1일
syms x y
ezplot(y=x+sinx)
xlabel('x')
ylabel('y')
grid on

채택된 답변

Walter Roberson
Walter Roberson 2016년 10월 31일
sinx would be a variable with a 4 character name, and would have nothing to do with the sine function, just like sinister would have nothing to do with the sine function.
The sine function applied to x would be sin(x)

추가 답변 (1개)

Kamal Dissanayaka
Kamal Dissanayaka 2020년 10월 1일
syms x y ezplot(y=x+sinx) xlabel('x') ylabel('y') grid on

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by