Polar Plot in MATLAB with example

A polar plot of an angle versus magnitude may be generated using the command
polar(theta, rho)
where, theta and rho are vectors, with the theta being an angle in radians and rho being the magnitude.

Question: A complex number z can be represented as z = re jθ . The nth power of
the complex number is given as zn = r ne jnθ . If r = 1.2 and θ = 100 , use
the polar plot to plot z n versus nθ for n = 1 to n = 36.
MATLAB Codes: 

r=1.2;
theta=10*pi/100;
angle = 0:theta:36*theta;
mag = r.^(angle/theta);
polar(angle,mag)
title('Polar Plot')

Output:



No comments