代码搜索结果
找到约 12,326 项符合
M 的代码
fzxec1.m
clear
tdata=100:100:1000
cdata=1e-03*[4.54,4.99,5.35,5.65,5.90,6.10,6.26,6.39,6.50,6.59];
x0=[0.2,0.05,0.05];
x=lsqcurvefit('curvefun1',x0,tdata,cdata)
f=curvefun1(x,tdata)
x
ll.m
t=[0 0.92 1.84 2.95 3.87 4.98 5.9 7.01 7.93 8.97 10.95 12.03 12.95 13.88 14.98 15.90 16.83 17.93 19.04 19.9 20.84 23.88 24.99 25.91];
h=[968 948 931 913 898 881 869 852 839 822 1082 1050 1021 994 965
lihe2.m
clear
tdata=[0.25 0.5 1 1.5 2 3 4 6 8];
cdata=[19.21 18.15 15.36 14.10 12.89 9.32 7.45 5.24 3.01];
x0=[10,0.5];
x=lsqcurvefit('curvefun3',x0,tdata,cdata);
f=curvefun3(x,tdata)
x
llgj34.m
t=[0 0.92 1.84 2.95 3.87 4.98 5.9 7.01 7.93 8.97 10.95 12.03 12.95 13.88 14.98 15.90 16.83 17.93 19.04 19.9 20.84 23.88 24.99 25.91];
h=[968 948 931 913 898 881 869 852 839 822 1082 1050 1021 994 965
llgj1.m
t=[0 0.92 1.84 2.95 3.87 4.98 5.9 7.01 7.93 8.97 10.95 12.03 12.95 13.88 14.98 15.90 16.83 17.93 19.04 19.9 20.84 23.88 24.99 25.91];
h=[968 948 931 913 898 881 869 852 839 822 1082 1050 1021 994 965
zxec1.m
x=0:0.1:1;
y=[-0.447 1.978 3.28 6.16 7.08 7.34 7.66 9.56 9.48 9.30 11.2];
R=[(x.^2)' x' ones(11,1)];
A=R\y'
dianzu1.m
t=[20.5 32.5 51 73 95.7];
r=[765 826 873 942 1032];
aa=polyfit(t,r,1);
a=aa(1)
b=aa(2)
y=polyval(aa,t);
plot(t,r,'k+',t,y,'r')
curvefun1.m
function f=curvefun1(x,tdata)
f=x(1)+x(2)*exp(-0.02*x(3)*tdata)
% x(1)=a; x(2)=b,x(3)=k;
llgj56.m
t=[0 0.92 1.84 2.95 3.87 4.98 5.9 7.01 7.93 8.97 10.95 12.03 12.95 13.88 14.98 15.90 16.83 17.93 19.04 19.9 20.84 23.88 24.99 25.91];
h=[968 948 931 913 898 881 869 852 839 822 1082 1050 1021 994 965
llgj3.m
t=[0 0.92 1.84 2.95 3.87 4.98 5.9 7.01 7.93 8.97 10.95 12.03 12.95 13.88 14.98 15.90 16.83 17.93 19.04 19.9 20.84 23.88 24.99 25.91];
h=[968 948 931 913 898 881 869 852 839 822 1082 1050 1021 994 965