1、命令行键入:theta = 0:0.01:2*pi;%角度。
2、命令行键入:rho = abs(sin(2*theta).*cos(2*theta));
3、命令行键入:polarplot(theta,rho)