Plotting the given Trigonometric functions
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can someone help me on plotting the function ysin(2x) = xcos(2y)?
0 commentaires
Réponse acceptée
Ameer Hamza
le 27 Nov 2020
Modifié(e) : Ameer Hamza
le 27 Nov 2020
You can use fimplicit()
fun = @(x, y) y.*sin(2*x) - x.*cos(2*y);
fimplicit(fun, [-10 10 -10 10])
0 commentaires
Plus de réponses (1)
KSSV
le 27 Nov 2020
x = linspace(-pi,+pi);
y = x ;
[X,Y] = meshgrid(x,y) ;
Z = Y.*sin(2*X)-X.*cos(2*Y) ;
surf(X,Y,Z)
colorbar
2 commentaires
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots 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!