Unable to get how to solve for mutltivariable function while calculating DTFT
Mostrar comentarios más antiguos
Hi ,
I have the frequency response of a system given as:
H(e^(iθ))=1/(1-0.9*e^(-iθ))
and i am struggling to get the response of the above system when the input is
x(n)=0.5*cos((pi*n)/4)
.What i have tried and stucked at is how do i give the x(n) as a input to the function 'H' . . Can anybody help me out with this or other way ?
Respuesta aceptada
Más respuestas (1)
William Rose
el 28 de Jun. de 2023
Editada: William Rose
el 28 de Jun. de 2023
0 votos
[Are you sure that is exactly how the frequency repsonse and the input funtion are defined?]
The frequency response
is a function of θ. Let's assume
.
The input x is a function of n. Let's assume n=t, so we have
. Then we can write x(t) as
, where
. Now we recall that
.
. Then we can write x(t) as If you continue the algebra and deal with the complex numbers, you should find that Y is real.
3 comentarios
William Rose
el 28 de Jun. de 2023
Editada: William Rose
el 28 de Jun. de 2023
[edit: correct typos]
the trouble with my answer above is that, because I have taken your original expression literally, it means H(x) is not a linear function of x. As a result, if you follow through with the algebraic simplification to which I alluded at the end of my answer above, you get:

which is not a sinusoid, as you will see when you plot it. In other words, a sinusoid in does not give sinusoid out. I suspect such a nonlinear transform is not what is intended. Therefore consider an alternative interpretation of the transfer function which you specified as H(e^(iθ))=1/(1-0.9*e^(-iθ)).
For example, consider
, and assume your x(n)=0.5*cos((pi*n)/4) can be written as

where
. Then
and

Simplify the equation above, applying Euler's equation.
where
and
. And so on. I think you will get a real sinusoidal signal for y(t).
Good luck!
Paul
el 28 de Jun. de 2023
What is the advantage in changing the independent variable from n to t?
This solution is only the steady state solution, which might or might not meet the intent of the question.
William Rose
el 29 de Jun. de 2023
@Paul,
Good point. I coud have, I should have kept n as n.
ALso a good point about steady state. The question has a transfer function and a sinusoidal input, so I assume that the "steady state" sinusoidal output is what is desired. If a transient solution were desired, then the initial condition of the output would need to be specified, and it is not.
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
