How to build a filter from frequency response

Hi, I have measurements of a system that is frequency selective (it has several cascaded filters). I would like to build an IIR (FIR is also possible) that has similar frequency response as the measurements. I don't have the group delay or phase information, however I know that there are few simple analog filters in the chain. Thanks, Alecs

Answers (2)

You can use fdesign.arbmag to do this. The reference page has several examples.
Thank you. It works but only for symmetric magnitude. I have shifted the filter to be around 0.5 and increased Fs by 2. It enabled asymmetric BPF. The only drawback I have is that since I use IIR filter, it is not possible to shift the filter back to 0, I have to shift the signal up and down. Bottom line: it works!

Asked:

on 8 Jul 2014

Answered:

on 8 Jul 2014

Community Treasure Hunt

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

Start Hunting!