home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / dsp / 3101 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.0 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!fido!prophet.esd.sgi.com!gints
  2. From: gints@prophet.esd.sgi.com (Gints Klimanis)
  3. Newsgroups: comp.dsp
  4. Subject: Re: DSP project: spectrum reversal
  5. Message-ID: <1k28e0INNddk@fido.asd.sgi.com>
  6. Date: 26 Jan 93 02:42:08 GMT
  7. References: <1k25kgINNb73@geraldo.cc.utexas.edu>
  8. Organization: Silicon Graphics, Inc.
  9. Lines: 40
  10. NNTP-Posting-Host: prophet.esd.sgi.com
  11.  
  12. In article <1k25kgINNb73@geraldo.cc.utexas.edu>,
  13. ccdo017@bongo.cc.utexas.edu (David Kirk) writes:
  14. |> I am beginning a DSP project and need some assistance as to which
  15. |> direction I should head.
  16. |> 
  17. |> The project entails taking the frequency response of any signal
  18. |> after
  19. |> it has passed through a simple filter (ie RC filter) and producing a
  20. |> new signal which has its response reversed:
  21. |> 
  22. |> |                |
  23. |> |------------              |          ----------
  24. |> |            \           ----->   |         /        
  25. |> |          \            |        /
  26. |> |           \        |       /
  27. |> |___________________ f          |_____________________  f
  28. |> 
  29. |> I know that taking the FFT will give the spectrum, but it would
  30. |> be different for different signals. The only constant is the
  31. |> (analog)
  32. |> filters response. My design should be able to take any signal of any
  33. |> spectral make-up.
  34. |> 
  35.  
  36. Hi !
  37.  
  38. I am only guessing what you want to do.  If you change the sign of every
  39. other sample of your signal, you will mirror the frequency response
  40. around Fs/4 (process also termed spectral inversion: swapping the highs
  41. with the lows).  If you want to mirror the frequency response of, for
  42. example an FIR filter, change the sign of every other sample in the
  43. filter impulse response (be sure not to flip the central sample. 
  44. Otherwise you will invert the signal).  This is a simple way to convert
  45. a low pass FIR to a high pass FIR with the frequency response mirrored
  46. around Fs/4.
  47.  
  48. Changing the sign of every sample is the operation of multiplying the
  49. signal by a full amplitude sinusoid at f=fs/2.  This process amplitude
  50. modulates the signal out of band such that it aliases perfectly into the
  51. base band.
  52.