收起
这好像就是心形线啊:
clc,clear,close all; theta=-pi:0.001:pi; r=1+sin(theta); polar(theta,r,'r'); hold on r1 = 1.*ones(size(theta)); polar(theta,r1,'b--'); r2 = 2.*0.5.*sin(theta); polar(theta,r2,'g--'); r2 = -2.*0.5.*sin(theta); polar(theta,r2,'g--');
报告相同问题?