CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Drag and Lift coefficient from Least square regression (https://www.cfd-online.com/Forums/main/79586-drag-lift-coefficient-least-square-regression.html)

tparente August 27, 2010 10:32

Drag and Lift coefficient from Least square regression
 
Hello,

I have a lift and drag load (Newton/meter) function of time and the velcoity field function of time. Both are sinusoidal.

I would like to know how can I compute the Drag and Lift coefficient from a Least Square Regression or Fourier Transform.

Can someone point to a document showing how to do such thing in excel or mathlab ?

Thanks much

DoHander September 2, 2010 14:08

For a least square polynomial interpolation try :

polyfit

in Matlab.

Do


All times are GMT -4. The time now is 23:26.