How to obtain output data sample given the input data samples and a transfer function in Z-domain?

7 views (last 30 days)
Hi Everyone,
Let us suppose that I have an array that corresponds to my input data and I have a system represented by the transfer function . What would be the most straighforward way to obtain the output samples in Matlab?
  3 Comments
Johann Baader
Johann Baader on 14 Sep 2020
Hi Hayden. But then, how do you set the transfer function? I have seen examples in the Laplace (s) domain. How do I treat z in my case?

Sign in to comment.

Accepted Answer

Paul
Paul on 14 Sep 2020
Edited: Paul on 14 Sep 2020
G=tf(2,[1 1],-1,'Variable','z^-1')
G =
2
--------
1 + z^-1
Sample time: unspecified
Discrete-time transfer function.
y = lsim(G,x);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!