clear clc e=23.54; m=5.874; hold on for r=0:0.1:57.9 v=@(c) sqrt(r.^2.*(m-1.0).^2+e.^2.*m.^2-e.*m.*r.*cos(c).*(m-1.0).*2.0); z1=quad(v,0,2*pi); plot(r,z1) end 请问如何对r和z1归一化,并画出曲线?
clear clc e=23.54; m=5.874; hold on for r=0:0.1:57.9; v=@(c) sqrt(abs(r.^2*(m-1)^2+e^2*m^2-e*m*r.*cos(c)*(m-1)*2)); z1=quad(v,0,2*pi); plot(r,z1) end 按上面语句试试