plot the graph y=x+sinx.

8 visualizaciones (últimos 30 días)
Bhavani Singh Yadav
Bhavani Singh Yadav el 31 de Oct. de 2016
Respondida: Kamal Dissanayaka el 1 de Oct. de 2020
syms x y
ezplot(y=x+sinx)
xlabel('x')
ylabel('y')
grid on

Respuesta aceptada

Walter Roberson
Walter Roberson el 31 de Oct. de 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)

Más respuestas (1)

Kamal Dissanayaka
Kamal Dissanayaka el 1 de Oct. de 2020
syms x y ezplot(y=x+sinx) xlabel('x') ylabel('y') grid on

Community Treasure Hunt

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

Start Hunting!

Translated by