%% Convert from Degrees to Radians Before Plotting
% Create the data to plot.

theta = linspace(0,360,50);
rho = 0.005*theta/10;

%
% Convert the values in theta from degrees to radians. Then, plot the data in polar coordinates.

theta_radians = deg2rad(theta);
polarplot(theta_radians,rho)

% Copyright 2012 The MathWorks, Inc.