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!