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 views (last 30 days)
Show older comments
% 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))
0 Comments
Accepted Answer
Abraham Boayue
on 23 Mar 2018
I hope this will be of some help.
b = [1, -.5];
a = [-.5, 1];
H= zplane(b,a);
0 Comments
More Answers (2)
Abraham Boayue
on 22 Mar 2018
Look here.<https://www.mathworks.com/matlabcentral/answers/386745-how-can-i-find-y-n>
See Also
Categories
Find more on Robust Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!