Perform least squares regression to determine the coefficients a and b ussing the manipulation

2 vues (au cours des 30 derniers jours)
solubility with temperature
S = a.exp(bT)
the manipulation ln(S) = ln(a) + bT
See attached pic for the full details. thanx a million !

Réponses (1)

jean claude
jean claude le 6 Déc 2017
Modifié(e) : jean claude le 6 Déc 2017
look here
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

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by