plot the graph y=x+sinx.

8 次查看(过去 30 天)
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