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

40 visualizaciones (últimos 30 días)
EVANGELIA
EVANGELIA el 5 de Nov. de 2025 a las 10:21
Respondida: Renee Coetsee el 11 de Nov. de 2025 a las 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 comentario
Leepakshi
Leepakshi el 10 de Nov. de 2025 a las 12:44
Hi Evangelia,
Please share both the graphs, obtained and the expected one.

Iniciar sesión para comentar.

Respuesta aceptada

Renee Coetsee
Renee Coetsee el 11 de Nov. de 2025 a las 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)

Más respuestas (0)

Categorías

Más información sobre Digital and Analog Filters en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by