Why do i receive Incorrect result in Filter Design and Analysis Methods?

40 ビュー (過去 30 日間)
EVANGELIA
EVANGELIA 2025 年 11 月 5 日 10:21
回答済み: Renee Coetsee 2025 年 11 月 11 日 16:00
Hello,
I'm taking a self-paced course in Filter Design and Analysis Methods. When I reach the module "Filter Analysis" --> "Impulse Response" I come across an error that I don't know why it's happening. Can someone help?
The task i have to do is to create a bandpass FIR filter (which I do) but when I try to Submit it the message I receive is always the same "Incorrect
Is the plot correct?"
And the plot is correct, I have compared side-by-side the plot with the one in "See solution".
What can I do?
  1 件のコメント
Leepakshi
Leepakshi 2025 年 11 月 10 日 12:44
Hi Evangelia,
Please share both the graphs, obtained and the expected one.

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

採用された回答

Renee Coetsee
Renee Coetsee 2025 年 11 月 11 日 16:00
We are working on releasing a fix for this issue.
In the meantime, you can use code instead of live tasks for this activity.
For task 1, enter this code:
designedFIR = designfilt('bandpassfir', ...
'StopbandFrequency1',2100,'PassbandFrequency1',2200, ...
'PassbandFrequency2',2500,'StopbandFrequency2',2600, ...
'StopbandAttenuation1',80,'PassbandRipple',1, ...
'StopbandAttenuation2',60,'SampleRate',fs);
impz(designedFIR,[],fs)
For task 2, enter this code:
designedIIR = designfilt('bandpassiir', ...
'StopbandFrequency1',2100,'PassbandFrequency1',2200, ...
'PassbandFrequency2',2500,'StopbandFrequency2',2600, ...
'StopbandAttenuation1',60,'PassbandRipple',1, ...
'StopbandAttenuation2',60,'SampleRate',fs);
impz(designedIIR,[],fs)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDigital and Analog Filters についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by