Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Chapter 10 Homework
New Member
October 27, 2019 - 4:47 pm
Member Since: October 27, 2019
Forum Posts: 1
sp_UserOfflineSmall Offline

Hi Will, 

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.


W Pirkle
November 5, 2019 - 11:55 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Hi Pete

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. 


Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 696

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 757

Posts: 2894

Newest Members:

Jas, Rowan, sojourn, fabhenr, rg1, Niklas, Wutru, Tim Campbell, Danny Jonel, Valentin

Moderators: W Pirkle: 573

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 573, VariableCook: 3