How do filtic and filter functions work ?

조회 수: 9 (최근 30일)
Ahmed Grera
Ahmed Grera 2018년 4월 29일
답변: Valeria Delgado 2020년 10월 27일
% y[n]+y[n-1]-6y[n-2]=x[n]
% x[n]=8u[n]
% y[-1]=1, y[-2]=-1
  댓글 수: 4
Ahmed Grera
Ahmed Grera 2018년 4월 30일
And what is different between them ?
Jan
Jan 2018년 4월 30일
Please take the time to ask the question more clearly.

댓글을 달려면 로그인하십시오.

답변 (1개)

Valeria Delgado
Valeria Delgado 2020년 10월 27일
% 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);

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by