Perform least squares regression to determine the coefficients a and b ussing the manipulation
1 次查看(过去 30 天)
显示 更早的评论
solubility with temperature
S = a.exp(bT)
the manipulation ln(S) = ln(a) + bT
See attached pic for the full details. thanx a million !
0 个评论
回答(1 个)
jean claude
2017-12-6
编辑:jean claude
2017-12-6
T=[77 100 185 239 285]';
S=[2.4 3.4 7 11.1 19.6]'/100 ;
S=log(S);
regression=fitlm(T,S);
atilda=table2array(regression.Coefficients(1,1));
a=exp(atilda); %a
b=table2array(regression.Coefficients(2,1)); %b
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!