plot the graph y=x+sinx.
8 views (last 30 days)
Show older comments
Bhavani Singh Yadav
on 31 Oct 2016
Answered: Kamal Dissanayaka
on 1 Oct 2020
syms x y
ezplot(y=x+sinx)
xlabel('x')
ylabel('y')
grid on
0 Comments
Accepted Answer
Walter Roberson
on 31 Oct 2016
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)
0 Comments
More Answers (1)
Kamal Dissanayaka
on 1 Oct 2020
syms x y ezplot(y=x+sinx) xlabel('x') ylabel('y') grid on
0 Comments
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!