Avatar

Please consider registering
guest

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
Avatar
dowsed
New Member
Members
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.

Cheers
Pete

Avatar
W Pirkle
Admin
November 5, 2019 - 11:55 am
Member Since: January 28, 2017
Forum Posts: 358
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. 

Will 

Forum Timezone: America/New_York

Most Users Ever Online: 78

Currently Online:
4 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

TheSmile: 43

Peter: 41

clau_ste: 39

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 575

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 593

Posts: 2366

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