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

40 vues (au cours des 30 derniers jours)
EVANGELIA
EVANGELIA le 5 Nov 2025 à 10:21
Réponse apportée : Renee Coetsee le 11 Nov 2025 à 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 commentaire
Leepakshi
Leepakshi le 10 Nov 2025 à 12:44
Hi Evangelia,
Please share both the graphs, obtained and the expected one.

Connectez-vous pour commenter.

Réponse acceptée

Renee Coetsee
Renee Coetsee le 11 Nov 2025 à 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)

Plus de réponses (0)

Catégories

En savoir plus sur Digital and Analog Filters dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by