How do filtic and filter functions work ?

10 visualizaciones (últimos 30 días)
Ahmed Grera
Ahmed Grera el 29 de Abr. de 2018
Respondida: Valeria Delgado el 27 de Oct. de 2020
% y[n]+y[n-1]-6y[n-2]=x[n]
% x[n]=8u[n]
% y[-1]=1, y[-2]=-1
  4 comentarios
Ahmed Grera
Ahmed Grera el 30 de Abr. de 2018
And what is different between them ?
Jan
Jan el 30 de Abr. de 2018
Please take the time to ask the question more clearly.

Iniciar sesión para comentar.

Respuestas (1)

Valeria Delgado
Valeria Delgado el 27 de Oct. de 2020
% 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);

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by