How do filtic and filter functions work ?

% y[n]+y[n-1]-6y[n-2]=x[n]
% x[n]=8u[n]
% y[-1]=1, y[-2]=-1

4 件のコメント

Jan
Jan 2018 年 4 月 30 日
The question is not clear. What is the relation between the header and the code?
Ahmed Grera
Ahmed Grera 2018 年 4 月 30 日
solve this difference equation by filter and filtic function
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 日

0 投票

% 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);

カテゴリ

ヘルプ センター および File ExchangeSignal Processing Toolbox についてさらに検索

タグ

質問済み:

2018 年 4 月 29 日

回答済み:

2020 年 10 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by