フィルターのクリア

how can Matlab's filter() function generate the output y[n] when the input is given by the plot in the image with input long enough to see all the non-zero values of y[n].

1 回表示 (過去 30 日間)
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 10 月 16 日
You can read off the signal input values... but in order to work with filter() you need to know the filter coefficients.
Chuki Ocheje
Chuki Ocheje 2023 年 10 月 16 日
That is exactly what I do not know

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 10 月 16 日
編集済み: Walter Roberson 2023 年 10 月 17 日
Since no constraints are given on what the output signal should look like, you might as well make the output be exactly the same as the input.
x = [1 4 3 2 3]
x = 1×5
1 4 3 2 3
subplot(2,1,1); stem(x); title('input signal')
y = filter(1,1,x)
y = 1×5
1 4 3 2 3
subplot(2,1,2); stem(y); title('output signal')
  6 件のコメント
Chuki Ocheje
Chuki Ocheje 2023 年 10 月 17 日
for the overall cascade system, it was y[n] = 2x[n-4] + 3x[n-3] - 2x[n-5] + 4x[n-2] - x [n-1] (p.s. this is the difference equation of it )
Paul
Paul 2023 年 10 月 17 日
What does that notation for h2[n] mean? I'm not familiar with that brace-and-arrow ...

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by