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

6 vues (au cours des 30 derniers jours)
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 commentaires
Johann Baader
Johann Baader le 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?

Connectez-vous pour commenter.

Réponse acceptée

Paul
Paul le 14 Sep 2020
Modifié(e) : Paul le 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);

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by