早教吧作业答案频道 -->其他-->
请教matlab高手,线性拟合t=[0 1 2 3 8 10]c=[0 2 3.3 4.6 6.2 6.3]ln(Cs-c)=-Kla*t+b拟合后,把代码发过来,
题目详情
请教matlab高手,线性拟合
t=[0 1 2 3 8 10]
c=[0 2 3.3 4.6 6.2 6.3]
ln(Cs-c)=-Kla*t+b
拟合后,把代码发过来,
t=[0 1 2 3 8 10]
c=[0 2 3.3 4.6 6.2 6.3]
ln(Cs-c)=-Kla*t+b
拟合后,把代码发过来,
▼优质解答
答案和解析
t=[0 1 2 3 8 10]';
c=[0 2 3.3 4.6 6.2 6.3]';
ft_ = fittype('Cs-exp(-k*t+b)',...
'dependent',{'c'},'independent',{'t'},...
'coefficients',{'Cs', 'k', 'b'});
st=[2 1 1]
[curve, goodness]= fit(t,c,ft_,'Startpoint',st)
figure
plot(curve,'predobs',0.95);
hold on,plot(t,c,'b*')
---------
curve =
General model:
curve(t) = Cs-exp(-k*t+b)
Coefficients (with 95% confidence bounds):
Cs = 6.488 (6.059, 6.917)
k = 0.383 (0.302, 0.4639)
b = 1.876 (1.792, 1.96)
goodness =
sse: 0.0617
rsquare: 0.9980
dfe: 3
adjrsquare: 0.9966
rmse: 0.1434
c=[0 2 3.3 4.6 6.2 6.3]';
ft_ = fittype('Cs-exp(-k*t+b)',...
'dependent',{'c'},'independent',{'t'},...
'coefficients',{'Cs', 'k', 'b'});
st=[2 1 1]
[curve, goodness]= fit(t,c,ft_,'Startpoint',st)
figure
plot(curve,'predobs',0.95);
hold on,plot(t,c,'b*')
---------
curve =
General model:
curve(t) = Cs-exp(-k*t+b)
Coefficients (with 95% confidence bounds):
Cs = 6.488 (6.059, 6.917)
k = 0.383 (0.302, 0.4639)
b = 1.876 (1.792, 1.96)
goodness =
sse: 0.0617
rsquare: 0.9980
dfe: 3
adjrsquare: 0.9966
rmse: 0.1434
看了 请教matlab高手,线性拟...的网友还看了以下:
下图为四中不同细胞的比较结果,正确的是选项\t细胞\t细胞壁光合作用\t染色质A\t蓝藻细胞\t有 2020-05-14 …
圆心与离心率为根号3/2的椭圆,T:c^2/a^2+y^2/b2=1相切于点M(0,1)求椭圆t圆 2020-05-14 …
matlab 结果用参数表示syms t a b c h;u=a/(4*3*2*1)*t^4+b/ 2020-05-16 …
Nobody but I knows Japanese in my class,A.does he 2020-05-17 …
______ A.(S,C)B.(T,R)C.(T,P)D.(T,S)A.B.C.D. 2020-05-26 …
如图,近地人造卫星和月球绕地球的运行可视为匀速圆周运动.设卫星、月球绕地公转周期分别为T卫、T月, 2020-07-08 …
一根金属棒在0度时的长度是q米,温度每升高1度c,它就伸出P米.当温庋归t庋c时,金属棒的长度L可用 2020-11-03 …
inta,b=5,*t=&a;则能完成a=b赋值功能的语句是()inta,b=5,*t=&a;则能完 2020-12-31 …
Fluent热源设置:生热速率随温度变化,UDF怎么编写啊!!热源Qv=A*T+B*T^2+C*T^ 2021-01-12 …
参数方程x=t+1ty=t?1t表示的曲线是()A.椭圆B.双曲线C.抛物线D.参数方程x=t+1t 2021-01-22 …