On 2 Sep, 16:46, "Steve Amphlett" <Firstname.Lastn...@Where-I-
Work.com> wrote:
> If I want to track single frequencies, I can write code like this:
...
> So I can recover the amplitudes of the real and imag components in my fake signal with the summations. But what about the wiggles in the plots?
...so what you do is to use an integrator to accumulate
the energy of each nominal frequency band...?
One effect that contributes to the wiggles is the cross-talk
between the crequency components. Umless the two sines are
orthogonal, they will interact with a coupling factor that is
given by the sinc window function at any given N.
And since N varies all the time - if I understand your code
correctly - the coupling factor also changes all the time,
switching between positive and negative, and sliding further
and further apart in spectrum domain.
Rune Allnor <allnor@tele.ntnu.no> wrote in message <b6dff0b3-e1f3-40c7-bff3-6118dda5a8a3@c37g2000yqi.googlegroups.com>...
> On 2 Sep, 16:46, "Steve Amphlett" <Firstname.Lastn...@Where-I-
> Work.com> wrote:
>
> > If I want to track single frequencies, I can write code like this:
> ...
> > So I can recover the amplitudes of the real and imag components in my fake signal with the summations. ?But what about the wiggles in the plots?
>
> ...so what you do is to use an integrator to accumulate
> the energy of each nominal frequency band...?
>
> One effect that contributes to the wiggles is the cross-talk
> between the crequency components. Umless the two sines are
> orthogonal, they will interact with a coupling factor that is
> given by the sinc window function at any given N.
>
> And since N varies all the time - if I understand your code
> correctly - the coupling factor also changes all the time,
> switching between positive and negative, and sliding further
> and further apart in spectrum domain.
>
> Rune
Cycle-by-cycle update perhaps? Integrators reset.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.