Borrar filtros
Borrar filtros

Hi, how can I calculate an impulse response of the LTI system, for a given function : y[n] - 0.5*y[n-1] = -0.5*x[n] + x[n-1]

9 visualizaciones (últimos 30 días)
% create a symbolic expresion for y(n) and x(n)
syms y(n)
syms x(n)
%define function for transform Z
y(n)= 0.5*y(n-1)-0.5*x(n)+x(n-1);
ztrans(y(n))

Respuesta aceptada

Abraham Boayue
Abraham Boayue el 23 de Mzo. de 2018
I hope this will be of some help.
b = [1, -.5];
a = [-.5, 1];
H= zplane(b,a);

Más respuestas (2)

Abraham Boayue
Abraham Boayue el 22 de Mzo. de 2018
Look here.<https://www.mathworks.com/matlabcentral/answers/386745-how-can-i-find-y-n>
  1 comentario
DenisK
DenisK el 22 de Mzo. de 2018
Probably, I didn't explain myself correctly. My purpose is to find a transport function of given LTI system equation and compare it to this I received analytically. That's why I tried to perform transform Z, and what I wanted to find is H(z)=Y(z)/X(z). How can I do this in matlab?

Iniciar sesión para comentar.


DenisK
DenisK el 23 de Mzo. de 2018
Lots of thanks

Categorías

Más información sobre Robust Control Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by