plot the graph y=x+sinx.
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Bhavani Singh Yadav
le 31 Oct 2016
Réponse apportée : Kamal Dissanayaka
le 1 Oct 2020
syms x y
ezplot(y=x+sinx)
xlabel('x')
ylabel('y')
grid on
0 commentaires
Réponse acceptée
Walter Roberson
le 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 commentaires
Plus de réponses (1)
Kamal Dissanayaka
le 1 Oct 2020
syms x y ezplot(y=x+sinx) xlabel('x') ylabel('y') grid on
0 commentaires
Voir également
Catégories
En savoir plus sur Calculus dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!