how to make a polar plot from 0 to 2 pi

I'm trying to make a polar plot from 0 to 2pi but I don't know how to code that properly.

Risposte (1)

theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);
polarplot(theta,rho)

Categorie

Richiesto:

il 27 Set 2017

Risposto:

il 27 Set 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by