1、函数功能:
polar(theta, rho, 选项):绘制极坐标图。其中,theta为极角,rho为极径,选项的内容与plot函数相同,具体可见:https://blog.csdn.net/Mrweng1996/article/details/104338453
2、代码示例:
clc;
clear all;
t = 0:pi/100:2*pi;
r = 1-sin(t);
subplot(1,2,1);
polar(t, r);
subplot(1,2,2);
t1 = t-pi/2;
r1 = 1-sin(t1);
polar(t, r1);
运行结果: