What's the System Transfer Function H(z) for y[n] = −1/2y[n − 1] + x[n]?

Click For Summary

Discussion Overview

The discussion revolves around finding the system transfer function H(z) for the discrete-time system defined by the equation y[n] = −1/2y[n − 1] + x[n]. Participants explore the application of the Z-transform to derive H(z) and discuss the implications of initial conditions and the time-shift theorem.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about representing the previous output in the equation y[n] = −1/2y[n − 1] + x[n].
  • Another participant suggests using the time-shift theorem and rewriting the equation in standard form.
  • Some participants propose that the transfer function H(z) can be expressed as H(z) = Y(z)/X(z), while others challenge the correctness of the expressions for Y(z) and X(z).
  • There is a discussion about the correct application of the Z-transform, particularly regarding the terms involving y[n] and y[n-1].
  • One participant mentions the assumption that all initial conditions are zero when deriving the transfer function.
  • Several participants express uncertainty about the initial conditions and how they affect the transfer function.
  • There is a repeated emphasis on the distinction between the time-domain variables (y[n]) and their Z-transformed counterparts (Y(z)).
  • One participant suggests that the specific form of x[n] may not be relevant when determining the transfer function H(z).

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct expressions for Y(z) and H(z). There are multiple competing views regarding the application of the Z-transform and the treatment of initial conditions, leading to an unresolved discussion.

Contextual Notes

Some participants note the importance of initial conditions in the context of transfer functions, while others suggest that they may not be necessary for this specific problem. There is also mention of potential confusion arising from the rewriting of the original equation.

crazycool2
Messages
16
Reaction score
0

Homework Statement



x[n] = anu[n]
A discrete system
y[n] = −1/2y[n − 1] + x[n];
where x[n] and y[n] in- and output of the system, respectively.
Find the system transfer function H(z), and sketch its zeros and poles
in the z-plane

Homework Equations


u[n] is the unit step function


The Attempt at a Solution


I transformed x[n] to X(z)
but what confuses is the-1/2y[n-1],
which basically means the previous -half of the previous output plus the input is equal to out put. but I don't know how to represent the previous output.
 
Physics news on Phys.org
Do you know the time-shift theorem? And don't forget the initial condition.

And BTW I suggest rewriting the equation so as to put it in standard form:
y(n+1) + by(n) = x(n+1), n = 0, 1, ... in your case.
 
Last edited:
I'm not so sure about the time shifting theorem, but I used the Transfer function H(z)=Y(z)/X(z). my X(z) is z/(z-a) and I tried Y(z) to be z+1/2 but I'm unsure. after that I supposed to sketch it's Zeros and poles. Am I on the right track?
 
crazycool2 said:
I'm not so sure about the time shifting theorem, but I used the Transfer function H(z)=Y(z)/X(z). my X(z) is z/(z-a) and I tried Y(z) to be z+1/2 but I'm unsure. after that I supposed to sketch it's Zeros and poles. Am I on the right track?

You got X(z) right but I don't know where you're going with the rest. Certainly not with z+ 1/2.

Question to you: if Z{y(n)} = Y(z), what is Z{y(n+1)}?

Other than that I refer you to my previous post. I can't really say more without violating the rules of this forum - until you get past this point.
 
well in the textbook I'm using it's written

Z [x (n − n0)] = z-n0X(z);

and if Z(Y[n])= Y(z) then Z(Y[n+1])= z1Y(z)

that's gives me y[n]+1/2y[n-1] = z0Y(z) + 1/2z-1Y(z)

that's where I go Y(z) = 1+1/2z-1. I don't understand where I am going wrong
 
crazycool2 said:
well in the textbook I'm using it's written

Z [x (n − n0)] = z-n0X(z);

and if Z(Y[n])= Y(z) then Z(Y[n+1])= z1Y(z)

that's gives me y[n]+1/2y[n-1] = z0Y(z) + 1/2z-1Y(z)

that's where I go Y(z) = 1+1/2z-1. I don't understand where I am going wrong

You book should say
If Z{y(n)} = Y(z) then
Z{y(n+1)} = z{Y(z) - y(0)}
which is actually quite close to your second equation above, except for the initial condition y(0).

Distinguish between y and Y. Y is the z transformed version of y. I notice you sometimes use them interchangeably. Not good.

Again - I urge you to rewrite your original equation in the conventional way, with n, n+1 and n+2 terms instead of n-1, n and n+1. Reason is I don't want to get confused myself & come up with the wrong answer. It's very straight-forward.
 
Z [x (n − n0)] = z-n0X(z);
y[n]+1/2y[n-1]=x[n]
→y[n+1]0+1/2y[n]=x[n+1]
Z-transform and get
→ z1Y(z) + 1/2z0Y(z)=z1X(z)
→ (z+1/2])Y(z)=zX(z)

given that H(z) = X(z)/Y(z)

z/(z+1/2)=X(z)/Y(z)=H(z)

I hope this is correct now?
though I'm still not getting the initial point part.
 
crazycool2 said:
Z [x (n − n0)] = z-n0X(z);
y[n]+1/2y[n-1]=x[n]
→y[n+1]0+1/2y[n]=x[n+1]
This is now correct (I assume the 0 after the first term is a typo?)
Z-transform and get
→ z1Y(z) + 1/2z0Y(z)=z1X(z)
→ (z+1/2])Y(z)=zX(z)

Also, the right-hand side is X(z), not zX(z). In you case x[n] = an+1u[n+1] so the Z transform of that term is X(z) = zZ{anu(n)}. But here you're dealing with any x[n] since you're after the transfer function H = Y/X so you ignore the particular form of x[n]. See below.

given that H(z) = X(z)/Y(z)
[/quote]
H= Y/X, not X/Y.
z/(z+1/2)=X(z)/Y(z)=H(z)
I hope this is correct now?
though I'm still not getting the initial point part.

Never mind about the initial condition. In a transfer function it is assumed that all initial conditions are zero. I should have noticed at the start that you're looking for a transfer function rather than a general solution of a finite-difference equation.

Including x[n] = anu[n] is a red herring in this problem. If you're looking for H = Y/X then the particular form of X is irrelevant. X is the input so Y = HX no matter what X happens to be. So your final equation is correct if you transpose X and Y and get rid of the numerator z.

If you did have to go on and solve for y[n] given the particular input x[n] then you'd have to worry about Z{x[n]}.
 
EDIT:

crazycool2 said:
Z [x (n − n0)] = z-n0X(z);
y[n]+1/2y[n-1]=x[n]
→y[n+1]0+1/2y[n]=x[n+1]

This is now correct (I assume the 0 after the first term is a typo?)
Z-transform and get
→ z1Y(z) + 1/2z0Y(z)=z1X(z)
→ (z+1/2])Y(z)=zX(z)
Correct.

given that H(z) = X(z)/Y(z)
[/quote]
H= Y/X, not X/Y.
z/(z+1/2)=X(z)/Y(z)=H(z)
I hope this is correct now?
Almost. If you change X(z)/Y(z) to Y(z)/X(z).

though I'm still not getting the initial point part.[/QUOTE]

Never mind about the initial condition. In a transfer function it is assumed that all initial conditions are zero. I should have noticed at the start that you're looking for a transfer function rather than the general solution of the full finite-difference equation.

Including x[n] = anu[n] is a red herring in this problem. If you're looking for H = Y/X then the particular form of X is irrelevant. X is the input so Y = HX no matter what X happens to be. If you did have to go on and solve for y[n] given the particular input x[n] then you'd have to worry about Z{x[n+1]}.

Also: I think I confused you unencessarily by having you rewrite the equation so that n=0 is the lowest n.

You could have left it as y[n] + (1/2)y[n-1] = x[n]
then use Z{y[n-1]} = z-1Z{y[n]}. I apologize for this unnecessary detour.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
18K