Rex_chaos wrote:
> Jerry Avins <
[email protected]> wrote in message news:<
[email protected]>...
>
>>Rex_chaos wrote:
>>
>> > Hi,
>> > I am using fft in DSP. However, I found that the alising is very
>> > serious in my case. I am going to use a hamming window for smoothing.
>> > However, my signal has a constanst background(the base is not zero).
>> > The effect of hamming window will cut part of the background. Does
>> > anyone know how to design a window for smoothing and can also keep the
>> > background of signal constant?
>> >
>> > Thanks in advance.
>>
>>Are you looking at the right problem? The FFT won't cause aliasing, but
>>it will reveal it if the data were originally undersampled. In general,
>>windows (Hamm or any other) achieve reduced sidelobe width by allowing a
>>broadened main lobe. They also reduce component frequencies' calculated
>>amplitudes by a constant for all frequencies. This amounts to a gain
>>change.
>>
>>Jerry
>
>
>
> Thanks. I think I misuderstand the concept of alising. I am talking
> about the side effect caused by the periodic boundary condition of
> fft. I am handling a signal with a constant energy background.
> However, I found that there is a oscillating wave ocuured at the tail
> of the signal and affect the head due to the periodic boundary
> condition. A hamming window is used to lower the effect, it does work,
> however, the constant energy background is also damaged. Besides
> applying a window, is there any way to reduce the side effect and keep
> the background at the same time?
>
> Thanks in advance.
As far as aliasing goes, it was matter of words, not ideas. I'm clear
now. What do you mean by "damaged"? The apparent amplitudes of all
frequencies are reduced in proportion to the area under the window of
choice to a rectangular window (which is the same as no window at all).
It's easy to calculate that ratio and apply its inverse as a correction,
but for most applications, it doesn't matter.
Jerry
--
"I view the progress of science as ... the slow erosion of the
tendency to dichotomize." Barbara Smuts, U. Mich.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ