divB
- 85
- 0
Hi,
The Fourier series can (among others) expressed in terms of sines and cosines with coefficients a_n and b_n and solely by sines using amplitudes A_n and phase \phi_n.
I want to express the latter using a_n and b_n. Using
<br /> a_n = A_n \sin(\phi_n) \\<br /> b_n = A_n \cos(\phi_n)<br />
I quickly found A_n by expressing the arccos and arcsin. For \phi_n I would get
\phi_n = \arccos \frac{a_n}{\sqrt{a_n^2 + b_n^2}}
However, according to the German Wikipedia (http://de.wikipedia.org/wiki/Fourier-Reihe) this seems not so trivial. One option there is (for n \neq 0):
\phi_n = 2 \arctan \frac{b_n}{A_n + a_n}
or using arctan and signum function. What I am missing or is my approach also correct?
Thanks,
divB
The Fourier series can (among others) expressed in terms of sines and cosines with coefficients a_n and b_n and solely by sines using amplitudes A_n and phase \phi_n.
I want to express the latter using a_n and b_n. Using
<br /> a_n = A_n \sin(\phi_n) \\<br /> b_n = A_n \cos(\phi_n)<br />
I quickly found A_n by expressing the arccos and arcsin. For \phi_n I would get
\phi_n = \arccos \frac{a_n}{\sqrt{a_n^2 + b_n^2}}
However, according to the German Wikipedia (http://de.wikipedia.org/wiki/Fourier-Reihe) this seems not so trivial. One option there is (for n \neq 0):
\phi_n = 2 \arctan \frac{b_n}{A_n + a_n}
or using arctan and signum function. What I am missing or is my approach also correct?
Thanks,
divB