On Wednesday, August 12, 2020 at 12:56:24 AM UTC-7,
[email protected] wrote:
We all know that if you have an even function you have only cosine terms and an
odd function only sine.
When the function is neither even nor odd you get both, or do you?
This suddenly struck me. Suppose you have
f(x)=sin(x) - this is odd since f(-x) = -f(x)
f(x)=sin(x)+1 is neither even nor odd. Now f(-x) ne -f(x)
But this is just a dc level shift.
With much of electronics, it is usual to remove the DC component before processing.
Many amplifiers are AC coupled for that reason. If for some reason it isn't, you
could compute the mean of a digital signal and then subtract it.
As far as odd or even, though, after you subtract the mean, then there is phase.
There are some cases where you might have a sampling clock appropriately phased, possibly with a PLL, to do the computation with only odd terms.
There are, for example, systems that do analysis of power line signals,
such as compute power factor, harmonic currents, and such. In that case,
one can use a PLL, lock the sampling frequency to some multiple of the
power line, and yes get only odd terms.
Since it doesn't get mentioned so often, the Fourier (exponential) transform (and series) are used for periodic signals, (periodic boundary conditions)
or in the limit of large period, non-periodic signals.
The Fourier sine transform (and series) are for signals with fixed
(constant, usually zero) boundary conditions. The cosine transform
(and series) for zero derivative boundary conditions.
With a fixed number of basis functions, the sine and cosine transform
put them all into sine or cosine, instead of half of each.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)