![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/431128/image.png)
Plotting the given Trigonometric functions
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Adrian Oblena
el 27 de Nov. de 2020
Comentada: KSSV
el 27 de Nov. de 2020
Can someone help me on plotting the function ysin(2x) = xcos(2y)?
0 comentarios
Respuesta aceptada
Ameer Hamza
el 27 de Nov. de 2020
Editada: Ameer Hamza
el 27 de Nov. de 2020
You can use fimplicit()
fun = @(x, y) y.*sin(2*x) - x.*cos(2*y);
fimplicit(fun, [-10 10 -10 10])
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/431128/image.png)
0 comentarios
Más respuestas (1)
KSSV
el 27 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!