FIR Filter implementation through function

Kindly provide the matlab code to solve the following question: Consider the following scenario: Let x[n] be the input to a non-causal FIR filter, with filter coefficients h[n]. Assume both the input values and the filter coefficients are stored in column vectors x, h and are given to you. Compute the output values y[n] for n = 1,2,3 where:

1 件のコメント

Gautam Mohan
Gautam Mohan 2016 年 10 月 17 日
Hi Saba,
Given that you have the filter coefficients and input values and the response is finite, I would suggest using the conv() function to calculate the filtered output of your signal.
Please see this documentation for more information:
https://www.mathworks.com/help/signal/ug/filter-implementation-and-analysis.html
Hope this helps!

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

回答 (1 件)

Muhammad
Muhammad 2023 年 9 月 22 日

0 投票

Let x[n] be the input to a non causal FIR filter, with filter coefficients h[n]. Assume both the input values and the filter coefficients are stored in column vectors x,h and are given to you. Compute the output values y[n] for n = 1,2,3 where     19 0 [ ] [ ] [ ] k y n h k x

カテゴリ

ヘルプ センター および File ExchangeDigital and Analog Filters についてさらに検索

質問済み:

2016 年 10 月 8 日

回答済み:

2023 年 9 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by