Thanks for writing this book, I have found it really useful so far. Do you publish the solutions to the homework anywhere?
I have done the first part of the homework for chapter 10 both in c++ and matlab (to easily plot as I am not used to graphics in C++).
On the second part I am a little confused. I am trying to write the difference equation on paper before starting and I am struggling to follow it. Are there any tips you can give for that?
I don't think it would be a problem to implement the code or do the maths for beta and gamma from the equations once I have the difference equation.
I do publish the derivations that the book cites (the H(z) stuff). But, the publisher did not do a homework solutions manual (they do this for some topics). Typically, the course instructor (professor) will help with the homework. But, if you are studying alone, then I can certainly help.
The point of the second question is to help you flush out a difference equation from any block diagram. The sequence of steps to follow is on page 252 (section 10.23.3) and there are three steps (below is not verbatim, just another variation):
1) form y(n) first -- you do this by looking at y(n) and figuring out what you need to calculate it. Looking at Figure 10.49, you can see that y(n) is the output of a summer (top right of figure). The two input to that summer are in the storage registers. Read those out and form y(n).
2) check for underflow (there is a function for that and is documented in the book)
3) update state variables; this may only be done after y(n) is calculated and this is the most common mistake I see from students.
If you find yourself going around in circles, then stop and follow the 3 steps.
LMK if you need some more help - trying not to just give you the solution (yet) but I will post that code if you want it.
Most Users Ever Online: 78
Currently Browsing this Page:
Guest Posters: 1
Newest Members:acv, Vasil992, Vasil92, dowsed, Simple, Chris_1, manyu, AdamR, Stuart, Al Calabrese
Moderators: W Pirkle: 358
Administrators: Tom: 73, JD Young: 80, Will Pirkle: 0, W Pirkle: 358