How to do complex bandpass filter in matlab?
Mostrar comentarios más antiguos
I know the theory behind the topic but i didn't manage to create the filter with matlab. I'am using firpm command to first create the low pass filter.
Could someone give a short example how it's done with some bandpass range?
Respuestas (1)
Wayne King
el 28 de Nov. de 2013
You have to use cfirpm() not firpm() and then specify your constraints.
For example:
b = cfirpm(30,[-1 -.5 -.4 .7 .8 1],@lowpass);
fvtool(b); % View filter response.
1 comentario
Vili
el 29 de Nov. de 2013
Categorías
Más información sobre Digital Filter Design en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!