fourier¶
Fourier series models¶
The Fourier series is a sum of sine and cosine functions that describes a periodic signal, and can be represented in trigonometric form as
where \(a_0\) models a constant (intercept) term in the data and is associated with the \(k=0\) cosine term, \(\omega\) is the fundamental frequency of the signal, and \(n\) is the number of terms (harmonics) in the series.
This module provides the general Fourier series model above for any
number of terms \(k\), as well as convenience functions for Fourier
series models with \(1\leq k\leq 8\) analogous to MATLAB’s
fourier1
, fourier2
, etc.
Functions
General Fourier series model. |
|
Convenience function for the |
|
Convenience function for the |
|
Convenience function for the |
|
Convenience function for the |
|
Convenience function for the |
|
Convenience function for the |
|
Convenience function for the |
|
Convenience function for the |