SCSeries:

Path: Math/Analysis

% Compute a series a + sum(bn sin(n wo t)) + sum(cn cos(n wo t))

--------------------------------------------------------------------------
   Form:
   x = SCSeries( t, nSin, nCos, wo, y )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   t                  Points at which data taken
   nSin               Number of sine terms
   nCos               Number of cosine terms
   wo                 Fundamental frequency
   y                  Data

   -------
   Outputs
   -------
   x                  [constant;sine terms;cosine terms]

--------------------------------------------------------------------------

Children:

Math: Analysis/CHarm
Math: Analysis/SCHarm
Math: Analysis/SHarm

Back to the Math Module page