Search This Blog

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: 

angle = 0:theta:36*theta;
mag = r.^(angle/theta);
title('Polar Plot')


No comments