绘制极坐标ρ=asin(b+n θ)曲线,并分析参数a,b,n对曲线形状的影响
x=0:1:90; a=1; b=1; n=1; y=a*sin(b+n*x); plot(x,y);
a:曲线幅度与a成正比b:与曲线形状无关n:n越大,曲线越密集