Azzera filtri
Azzera filtri

Need help to plot the time sequence associated with the below inverse transfer function

1 visualizzazione (ultimi 30 giorni)
F(z)=1/(1+z^-2) ; IZI>1
I have computed the above equation for f(k), can I plot the time sequence associated with this transform?

Risposte (1)

Yash
Yash il 14 Set 2023
Hi Tasin,
You can follow the below steps to plot the time sequence of the given function:
1. Evaluate the inverse Z-Transform using the "iztrans()" function as shown below:
syms z n
f_n = iztrans(1/(1+z^-2),z,n)
For more details on the "iztrans()" function, you can refer to the documentation link:
2. Substitute different values of "n" to evaluate the time sequence using the "subs()" function. Here is an example of how to use it:
f_1 = subs(f_n, 1)
You can loop through different values of "n" and append the results to an array. The "subs()" function allows you to substitute symbolic variables with actual values. For more information on the "subs()" function, you can refer to the documentation link:
3. Finally, you can use the "stem()" function to plot the discrete values. The "stem()" function is suitable for plotting discrete sequences. You can find more details on how to use it in the documentation link:
I hope these steps help you in resolving the issue.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by