plot the graph y=x+sinx.
8 次查看(过去 30 天)
显示 更早的评论
syms x y
ezplot(y=x+sinx)
xlabel('x')
ylabel('y')
grid on
0 个评论
采纳的回答
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)
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!