clear all;close all;
l=3; w=3; h=2.5; %mm
u=4*pi*10^(-7); %N/A^2
B=1.25; %T
d=0:1:10;
F=(1.5/(1+3*d));%*(w*h/2*u)*((B/pi)*tan.^(-1)*(w*h/2*d*sqrt(w.^2+h.^2+4*d.^2))-tan.^(-1)*(w*h/2*(l+d)*sqrt(w.^2+h.^2+4*(l+d).^2))).^2;
plot(d,F)
??? Error using ==> mldivide
Matrix dimensions must agree.
改后
clear all;close all;
l=3; w=3; h=2.5; %mm
u=4*pi*10^(-7); %N/A^2
B=1.25; %T
d=0:1:10;
F=(1.5./(1+3*d))*(w*h/2*u)*((B/pi)*tan.^(-1)*(w*h/2*d*sqrt(w.^2+h.^2+4*d.^2))-tan.^(-1)*(w*h/2*(l+d)*sqrt(w.^2+h.^2+4*(l+d).^2))).^2;
plot(d,F,'b')
??? Error using ==> tan
Not enough input arguments.
能发下F的原版公式吗
|