Showing output result in polar coordinate
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shaukhin
el 22 de Ag. de 2022
Comentada: Shaukhin
el 24 de Ag. de 2022
When I solve 2 or more equations including complex coefficient(i), the result (root) is shown in rectangular coordinate system (a+bi) by default. But I need to show the result in polar coordinate system (r<θ)[< is used to mean angle sign). How to do this??
0 comentarios
Respuesta aceptada
Walter Roberson
el 22 de Ag. de 2022
MATLAB does not provide that as an output format. You will need to create your own function to display the data in the format you want.
If you were working with your own object class then you could build a custom format for it.
3 comentarios
Steven Lord
el 22 de Ag. de 2022
If all you want is to see the data in polar coordinates you could use cart2pol to calculate the coordinates.
x = 3+4i;
[theta, r] = cart2pol(real(x), imag(x))
[re, im] = pol2cart(theta, r)
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!