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 CenterFile Exchange에서 Digital and Analog Filters에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by