How do filtic and filter functions work ?
Afficher commentaires plus anciens
% y[n]+y[n-1]-6y[n-2]=x[n]
% x[n]=8u[n]
% y[-1]=1, y[-2]=-1
4 commentaires
Jan
le 30 Avr 2018
The question is not clear. What is the relation between the header and the code?
Ahmed Grera
le 30 Avr 2018
Ahmed Grera
le 30 Avr 2018
Jan
le 30 Avr 2018
Please take the time to ask the question more clearly.
Réponses (1)
Valeria Delgado
le 27 Oct 2020
0 votes
% try
%y[n]+y[n-1]-6y[n-2]=x[n]
% x[n]=8u[n]
% y[-1]=1, y[-2]=-1
%Para n=3
x=[8 8 8 8]
num=[1]
den=[1 1 -6]
ic=filtic(num,den,[1 -1]);
y=filter(num,den,x,ic);
Catégories
En savoir plus sur Signal Processing Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!