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 Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by