问题
I am trying to transform sine wave to circle in the polar plot so the circle was in the center of the polar plot in Octave and I would like to ask you for help.
clc
clear all
x=0:0.01:2*pi;
y=sin(x);
subplot(3,1,1)
plot(x,y)
grid
subplot(3,1,2)
polar(x,y)
theta=0:0.1:2*pi;
rho=ones(size(theta));
subplot(3,1,3)
polar(theta,rho)
Sine wave to circle transformation in polar plot
Best regards Thomas
来源:https://stackoverflow.com/questions/60279462/centering-polar-plot