打開matlab軟件。
如圖1所示。
 號令行鍵入:
x=1:1000;
theta=x/10;
r=log10(x);
號令行鍵入:
polar(theta,r);
如圖2所示。
 號令行鍵入:
theta=linspace(0,4*pi);
r=cos(8*theta)號令行鍵入;
號令行鍵入:
polar(theta,r);
如圖3所示。
 號令行鍵入:
theta=linspace(0,4*pi,7);
r=ones(1,length(theta))
號令行鍵入:
polar(theta,r);
如圖4所示。
 號令行鍵入:
theta=linspace(0,4*pi);
r=1-sin(8*theta)
號令行鍵入:
polar(theta,r);
如圖5所示。
 END0 篇文章
如果覺得我的文章對您有用,請隨意打賞。你的支持將鼓勵我繼續創作!