how to make a polar plot from 0 to 2 pi

5 vues (au cours des 30 derniers jours)
Hayden O'Neil
Hayden O'Neil le 27 Sep 2017
Réponse apportée : KSSV le 27 Sep 2017
I'm trying to make a polar plot from 0 to 2pi but I don't know how to code that properly.

Réponses (1)

KSSV
KSSV le 27 Sep 2017
theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);
polarplot(theta,rho)

Catégories

En savoir plus sur Polar 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!

Translated by