DragPolarFromData:

Path: ACPro/ACProAerodynamics

--------------------------------------------------------------------------
   Compute the drag polar from data lift and drag coefficient data.

   The drag polar is cD = cD0 + k*cL^2

   Does a least squares curve fit.

   Type DragPolarFromData for a demo.

   Since version 2014.1. See also LeastSq
--------------------------------------------------------------------------
   Form:
   [cD0, k] = DragPolarFromData( cD, cL )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   cD      (1,:)   Drag coefficients
   cL      (1,:)   Lift coefficients

   -------
   Outputs
   -------
   cD0     (1,1)   Drag at zero lift
   k       (1,1)   Induced drag coefficient
  
--------------------------------------------------------------------------

Children:

Math: Linear/LeastSq

Back to the ACPro Module page