Fitting Data to a Prescribed Equation

조회 수: 1 (최근 30일)
Abdallah Samad
Abdallah Samad 2017년 10월 22일
댓글: Abdallah Samad 2017년 10월 23일
I have an equation of the following form
Nu=A*(0.75+0.013*ALFA)*(RE)^(m)*0.711^(1/3)
Where ALFA and RE are a set of prescribed values
ALFA=0 5 10 15 20 25 Re= 200000 300000 400000 500000
Nu is a set of values obtained from simulations
I know that my equation should look like the one previously shown, I would like to solve for the coefficients A and m so my prescribed values validate the equation
Any help please?
  댓글 수: 7
dpb
dpb 2017년 10월 23일
Also, please clarify the equation -- is the power term at the end
RE^[m*Pr^1/3]
or
(RE^m)*Pr^1/3
or yet some other grouping? My initial fitting with the first isn't promising at all...
Abdallah Samad
Abdallah Samad 2017년 10월 23일
Hi please attached the vales within the PDF As for the power term, its actually the second one you wrote Thank you very much !

댓글을 달려면 로그인하십시오.

답변 (1개)

Nicolas Schmit
Nicolas Schmit 2017년 10월 23일
편집: Nicolas Schmit 2017년 10월 23일
If I am correct, what you are trying to do is to fit a nonlinear model to a data set. The MATLAB command to do that is fitnlm. Look here for an introduction to nonlinear regression.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by