How do I plot the curve x^2+y^2=1+2.5sin(xy) in polar coordinates in mathlab?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ibrahim Taha
el 20 de Oct. de 2019
Respondida: Prasad Parameswaran
el 23 de Oct. de 2019
From what I know, the x-coordinates can be written as r.*cos(t) and y-coordinates as r.*sin(t). However, when it comes to plotting, I have no idea of how I shall do. I've tried to plot this function in plotting softwares, such as geogebra and know what it is supposed to look like.
![Screenshot_4.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/243659/Screenshot_4.png)
My current script looks like this
As you can see, I'm still hesistant of wheter I should convert the polar coordinates to cartesian, or plot based on the angle and the curve.
1 comentario
Respuesta aceptada
Prasad Parameswaran
el 23 de Oct. de 2019
The function can be easily plotted in cartesian coordinates with functions "fplot". Refer the below mentioned link:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Polar 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!