Arbitrary-Magnitude FIR multi band-pass filter

2 visualizaciones (últimos 30 días)
Talha Gungor
Talha Gungor el 22 de Mayo de 2021
Comentada: Sulaymon Eshkabilov el 22 de Mayo de 2021
I want to design the filter in the figure with desingfilt command.
My code for to obtain it is;
d2 = designfilt('arbmagfir', ...
'FilterOrder',205, ...
'NumBands',2, ...
'BandFrequencies1',[90 110], ...
'BandFrequencies2',[490 510], ...
'BandAmplitudes1',[2 2], ...
'BandAmplitudes2',[0 0], ...
'DesignMethod','ls', ...
'BandWeights1',[1 1]/10, ...
'BandWeights2',[3 1], ...
'SampleRate',5000) ;
But I'm getting errors. What am I doing wrong?
  1 comentario
Sulaymon Eshkabilov
Sulaymon Eshkabilov el 22 de Mayo de 2021
Can you post your obtained error messages here?
As is you command codes are running ok in MATLAB 2020b.

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by