Centering polar plot [closed]

自闭症网瘾萝莉.ら 提交于 2020-02-26 04:13:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!