
Plotting the given Trigonometric functions
23 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Adrian Oblena
am 27 Nov. 2020
Kommentiert: KSSV
am 27 Nov. 2020
Can someone help me on plotting the function ysin(2x) = xcos(2y)?
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 27 Nov. 2020
Bearbeitet: Ameer Hamza
am 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 Kommentare
Weitere Antworten (1)
KSSV
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
