MATLAB Answers

How can I identify the powers and the coefficient of a semi-known 2 variable function?

1 view (last 30 days)
I am currently trying to corralate Reynold's and Prundtl number to find the Nusselt number. The equation is Nu = C*Re^n*Pr^m , where C,n,m are non integer constants. I have 5 pieces of data where I know Nu,Re, and Pr. My aim is to find C,n,m. I have looked through a bunch of curve fitting techniques but all of them seem to work only for integer powers. Any suggestions?

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 8 Dec 2018
take logs.
log(Nu) = log( C) + n * log(Re) + m * log(Pr)
This is a linear system easily fit with the \ operator

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.