image thumbnail

MATLAB Plot Gallery - Polar Plot

by

 

24 Feb 2012 (Updated )

Create a polar plot

Polar_Plot

This is an example of how to create a polar plot in MATLAB®.

Read about the polar function in the MATLAB documentation.

For more examples, go to MATLAB Plot Gallery

% Create data for the function
t = 0:0.01:2*pi;
r = abs(sin(2*t).*cos(2*t));

% Create a polar plot using the function polar
figure
polar(t, abs(sin(2*t).*cos(2*t)))

% Add a title
title('abs(sin(2t)*cos(2t))')

Contact us