DSPRelated.com
Forums

All-pole lattice filter

Started by MA April 29, 2005
Hi! 

I'm trying to write a matlab function to do all-pole lattice filtering,
but I can't figure out how (I don't want to use latcfilt.m). I have very
good book, M. Hayes "Statistical Digital Signal Processing and Modelling",
which describes the theory nicely but gives no clue how to perform the
filtering in practice/matlab. Is a state-space representation necessary? 

Before I ran into this I wrote a function for FIR lattice filtering which
worked well. But the inverse of my FIR lattice seems to be much more
difficult to implement...

Help would be much appreciated!

/ M



		
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
"MA" <oooncs@yahoo.se> writes:

> Hi! > > I'm trying to write a matlab function to do all-pole lattice filtering, > but I can't figure out how (I don't want to use latcfilt.m). I have very > good book, M. Hayes "Statistical Digital Signal Processing and Modelling", > which describes the theory nicely but gives no clue how to perform the > filtering in practice/matlab. Is a state-space representation necessary? > > Before I ran into this I wrote a function for FIR lattice filtering which > worked well. But the inverse of my FIR lattice seems to be much more > difficult to implement... > > Help would be much appreciated! > > / M
We studied 2nd-order IIR lattice filters in my DSP class at NCSU. You can access my homework for that assignment here: http://www.uspsdata.org/hw6.zip -- Randy Yates Sony Ericsson Mobile Communications Research Triangle Park, NC, USA randy.yates@sonyericsson.com, 919-472-1124
"Randy Yates" <randy.yates@sonyericsson.com> wrote in message 
news:xxpsm193den.fsf@usrts005.corpusers.net...
> > We studied 2nd-order IIR lattice filters in my DSP class at NCSU. You > can access my homework for that assignment here: > > http://www.uspsdata.org/hw6.zip
Just curious, did everyone in your class produce beautifully typeset equations and nicely laid text/graphics, or were you an overachiever? (This is intended as a compliment!) When I was in school, my homework was mostly pencil and paper, rough drawings, etc. with a few graphs printed out (dot-matrix) if I was going all out!
"Jon Harris" <jon99_harris7@hotmail.com> writes:

> "Randy Yates" <randy.yates@sonyericsson.com> wrote in message > news:xxpsm193den.fsf@usrts005.corpusers.net... > > > > We studied 2nd-order IIR lattice filters in my DSP class at NCSU. You > > can access my homework for that assignment here: > > > > http://www.uspsdata.org/hw6.zip > > Just curious, did everyone in your class produce beautifully typeset equations > and nicely laid text/graphics, or were you an overachiever? (This is intended > as a compliment!)
No, yes, and thanks!
> When I was in school, my homework was mostly pencil and > paper, rough drawings, etc. with a few graphs printed out (dot-matrix) if I was > going all out!
It's amazing how quickly and nicely one can do these types of papers when you a) have a good tool (TeX/LaTeX) and b) have had the opportunity to consistently use the tool for a long time. I am "standing on the shoulders of giants" in that many people in the TeX community have made lots of very powerful features available for free. -- Randy Yates Sony Ericsson Mobile Communications Research Triangle Park, NC, USA randy.yates@sonyericsson.com, 919-472-1124
Thanks a lot Randy!!! That was definitely more than I had hoped for! I'm
putting off feasting on your masterpiece until tomorrow. I'm feeling
cabbaged. Must get some sleep now.

Thanks again! 
		
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
"Randy Yates" <randy.yates@sonyericsson.com> wrote in message 
news:xxpk6ml32zd.fsf@usrts005.corpusers.net...
> "Jon Harris" <jon99_harris7@hotmail.com> writes: > >> "Randy Yates" <randy.yates@sonyericsson.com> wrote in message >> news:xxpsm193den.fsf@usrts005.corpusers.net... >> > >> > We studied 2nd-order IIR lattice filters in my DSP class at NCSU. You >> > can access my homework for that assignment here: >> > >> > http://www.uspsdata.org/hw6.zip >> >> Just curious, did everyone in your class produce beautifully typeset >> equations >> and nicely laid text/graphics, or were you an overachiever? (This is >> intended >> as a compliment!) > > No, yes, and thanks! > >> When I was in school, my homework was mostly pencil and >> paper, rough drawings, etc. with a few graphs printed out (dot-matrix) if >> I was >> going all out! > > It's amazing how quickly and nicely one can do these types of papers when > you > a) have a good tool (TeX/LaTeX) and b) have had the opportunity to > consistently > use the tool for a long time. I am "standing on the shoulders of giants" > in that > many people in the TeX community have made lots of very powerful features > available > for free.
Good for you Randy! I've not ventured into it but know folks who have written their engineering books using TeX or LaTeX. When I was a freshman in engineering school we took a course called "Engineering Problems" (hmmmmm ... I wonder if this is why the first thing I do is say: "now, here is a problem" and people thing I'm being negative whan all I'm doing is getting to the first step of creating a solution! No lie.) Anyway, the course got us familiar with a wide variety of general engineering calculations, tons of exercise with slide rules, etc. We were trained to use Murray paper / pads (the green stuff with grid lines on the back). We were trained to use a lettering template and were expected for the next 4 years to do all of our homework in this same very neat and complete fashion. There was a format for the pages that included author, date, page number, etc. etc. The stuff was so beautiful that I'm sure most of us kept the old homework for years and years! We couldn't bear to part with it. Then I took the opportunity to be a "reader" for a digital circuits course at a major university. I was apalled at what some students considered adequate. I received a term paper written with pencil on very poor quality lined notepad paper that had erasures that had eroded holes in the paper. The guy who wrote it worked in the same company as I - so I knew he could afford the materials and the time to do a better presentation. I asked a local engineering professor about this at the time and he said that, yes, presentation wasn't much emphasized those days (in the late 60's) I always thought that good presentation was important - beyond being forced into it initially. It sends a message that is often received! Jon Harris received yours. Fred PS: While I was typing this I got a phone call. The guy asked if this was Missions, Inc. or Mission Systems, Inc. I said Yes. Then he asked: "Is this Mr. Inc. I-N-C-period?" Then I hung up...... Presentation isn't everything but my gosh!
Fred Marshall wrote:

> PS: While I was typing this I got a phone call. The guy asked if > this was Missions, Inc. or Mission Systems, Inc. I said Yes. > Then he asked: "Is this Mr. Inc. I-N-C-period?" > Then I hung up...... Presentation isn't everything but my gosh!
You should have told him to "type any key" on the phone before hanging up... he might have been searching for "any" on the phone keypad for hours. Ciao, Peter K.
Fred Marshall wrote:
> > Good for you Randy! I've not ventured into it but know folks who have > written their engineering books using TeX or LaTeX.
These tools really are a thing of beauty. I use pdflatex for generating slides for presentations. The .tex sources can be kept under revision control, I use inkscape on Linux to generate SVG graphics and get high quality, PDF slides as output. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo nospam@mega-nerd.com (Yes it's valid) +-----------------------------------------------------------+ "Working with Perforce in my day job makes me really appreciate just how good GNU Arch is." -- Erik de Castro Lopo
Peter K. wrote:
> Fred Marshall wrote: > > >>PS: While I was typing this I got a phone call. The guy asked if >>this was Missions, Inc. or Mission Systems, Inc. I said Yes. >>Then he asked: "Is this Mr. Inc. I-N-C-period?" >>Then I hung up...... Presentation isn't everything but my gosh! > > > You should have told him to "type any key" on the phone before hanging > up... he might have been searching for "any" on the phone keypad for > hours. > > Ciao, > > Peter K.
"Type any key" is an example of the poor technical writing we accept so matter-of-factly. There are at least four keys that must be excluded from "any", and more on most keyboards: two each shift and control. I was recently given travel directions that required me to take the "third left turn". I wandered nearly half an hour before finding a policeman who directed me. What I wanted was the fifth left turn. My host's explanation? "I only count the cross streets, not the tees." Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
Jerry,

One of the best lines I've ever received for directions was "It's the
third apartment building from the end."  Apparently it was implied that
I was willing to drive to the end of the street and work my way
backwards.

QN