Article View: comp.dsp
Article #2121Re: DSP project: spectrum reversal
From: Gints Klimanis
Date: Tue, 26 Jan 1993 02:42
Date: Tue, 26 Jan 1993 02:42
40 lines
2104 bytes
2104 bytes
In article <1k25kgINNb73@geraldo.cc.utexas.edu>, ccdo017@bongo.cc.utexas.edu (David Kirk) writes: |> I am beginning a DSP project and need some assistance as to which |> direction I should head. |> |> The project entails taking the frequency response of any signal |> after |> it has passed through a simple filter (ie RC filter) and producing a |> new signal which has its response reversed: |> |> | | |> |------------ | ---------- |> | \ -----> | / |> | \ | / |> | \ | / |> |___________________ f |_____________________ f |> |> I know that taking the FFT will give the spectrum, but it would |> be different for different signals. The only constant is the |> (analog) |> filters response. My design should be able to take any signal of any |> spectral make-up. |> Hi ! I am only guessing what you want to do. If you change the sign of every other sample of your signal, you will mirror the frequency response around Fs/4 (process also termed spectral inversion: swapping the highs with the lows). If you want to mirror the frequency response of, for example an FIR filter, change the sign of every other sample in the filter impulse response (be sure not to flip the central sample. Otherwise you will invert the signal). This is a simple way to convert a low pass FIR to a high pass FIR with the frequency response mirrored around Fs/4. Changing the sign of every sample is the operation of multiplying the signal by a full amplitude sinusoid at f=fs/2. This process amplitude modulates the signal out of band such that it aliases perfectly into the base band.
Technical Details
Message-ID:
<1k28e0INNddk@fido.asd.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!sgi!fido!prophet.esd.sgi.com!gintsReferences:
<1k25kgINNb73@geraldo.cc.utexas.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!sgi!fido!prophet.esd.sgi.com!gints From: gints@prophet.esd.sgi.com (Gints Klimanis) Newsgroups: comp.dsp Subject: Re: DSP project: spectrum reversal Message-ID: <1k28e0INNddk@fido.asd.sgi.com> Date: 26 Jan 93 02:42:08 GMT References: <1k25kgINNb73@geraldo.cc.utexas.edu> Organization: Silicon Graphics, Inc. Lines: 40 NNTP-Posting-Host: prophet.esd.sgi.com