Xref: utzoo comp.dsp:1719 sci.electronics:20486 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!pilchuck!seahcx!phred!jefft From: jefft@phred.UUCP (Jeff Taylor) Newsgroups: comp.dsp,sci.electronics Subject: Re: 180 deg phase shift Message-ID: <3406@phred.UUCP> Date: 28 May 91 23:50:36 GMT Article-I.D.: phred.3406 References: <1991May8.222501.19572@syd.dms.CSIRO.AU> <1991May10.003817.5593@milton.u.washington.edu> <625@fudd.dataco.UUCP> <1991May15.055011.5823@milton.u.washington.edu> <3404@phred.UUCP> Reply-To: jefft@phred.UUCP (Jeff Taylor) Organization: o Lines: 65 In article wilf@sce.carleton.ca (Wilf Leblanc) writes: > >"... but the zeros are on the unit circle" ?????? > >O.K. smartass, I'll play your game: > > H(z) = (1+0.5 z^-1)(1+2z^-1) > = 1 + 2.5z^-1 + z^-2 > >Looks symmetric, looks too me like either you are wrong or >0.5/1 = 2/1 = 1. > > >Nothing like interviewing someone, trying to screw them up, and >being completely wrong, eh ?? > >The zeros are not on the unit circle. > COMPLETELY wrong? Half wrong perhaps, (and technically not even that). Linear phase FIR filters have zeros either on the unit circle in complex conj. pairs, or in pairs with a reciprocal magnitude (and their complex conj's). I ignored the second class (because I forgot about them :( ). I *think* the remez exchange will generate filters with both kinds of zeros. Using your filter as an example, changing the second coefficient to anything less then two will generate complex zeros - which should be on the unit circle. The time response is still symmetric, so it meets the necessary and sufficent condition for linear phase, but it does have single zeros on the unit circle. Example: H(z) = 1 + (2/sqrt[2])z^-1 + z^-2 H(z) = [(z^-1) - (e^j*pi/4)]*[(z^-1) - (e^-j*pi/4)] (That's hard to read, should represent a zero an +- 45 deg on the unit circle, if I didn't make another mistake) The point I was trying to make is there are filters which satisfy the conditions for linear phase, but which place a zero on the unit circle. I don't know what the significance of this is because I have never used the linear phase property of FIR filters. I expect it would give unexpected results if a filtered signal was summed with one which was just delayed. As for trying to screw someone up, I think it is important to know why you know something. The reason we know symmetric filters have linear phase is the fourier transform of a symmetric signal is real. But negative numbers are real. So if you plot |gain| and phase, there will be 180 deg phase shifts. As an example consider a rectangular pulse, symetric about 0. It has a sinc function as a transform - which is real, but bi-phasic. It's real, so it has no phase shift. If it is the impulse response of a filter, does it just invert some frequencies, or does it have 180 deg phase shift? Does anyone use the linear phase property of FIR filters in practice? Is it necessary avoid zeros on the unit circle? jt -- ----------------------------------------------------------------------------- Jeff Taylor Physio Control Corp. -----------------------------------------------------------------------------