MATLAB: Plotting of polar and Cartesian coordinates at the same time

#polarcoordinates #cartesiancoordinates #plottingatthesametimeMATLAB

Is it possible to plot polar and cartesian coordinates overlapping on a single figure?

Best Answer

y = rand(1,360);
plot(linspace(-1,1, numel(y)), y+1)
hold on
plot(cos(theta).*y, sin(theta).*y, 'r')
Related Question