若以極座標(複數)來進行資料處理,程式碼會比較簡單一些,如下。 ... 2*pi); r1 = 3; circle1 = r1*exp(sqrt(-1)*theta); % 大圓plot(circle1), axis image r2 = 1; ...
確定! 回上一頁