如何用MATLAB画以下3个POLAR 图像

来源:百度知道 编辑:UC知道 时间:2024/06/21 02:27:40
r=sin^4(2.4*theta)+cos^4(2.4*theta) r=sin^2(1.2*theta)+cos^3(6*theta)
r=sin(8*theta/5)

theta=-pi:0.01:pi;

r1=sin(2.4*theta).^4+cos(2.4*theta).^4;

r2=sin(1.2*theta).^2+cos(6*theta).^3;

r3=sin(8*theta/5);

polar(r1,theta,'b')

hold on

polar(r2,theta,'g')

polar(r3,theta,'r')

hold off