1
$\begingroup$

I need to design a stable IIR filter in MATLAB. Specifically, I am trying to use a butterworth filter to correct the phase and gain of a 2 pole RC filter:

d = fdesign.arbmagnphase('n,f,h', n, f, h); 
myFilter = design(d,'iir','butter');

The butterworth part is not really important, there are several options to choose from. Is it possible to constrain MATLAB to produce an IIR filter that is stable?

$\endgroup$
1
  • $\begingroup$ Can you please explain your problem in a better way? Anyway to have a stable system you just need to have the poles inside the unit circle. $\endgroup$
    – LJSilver
    Oct 5, 2016 at 15:45

1 Answer 1

0
$\begingroup$

After working through some possible solutions, we figured out it would be easier to design argitrary magnitude and group delay separately in MATLAB:

fdesign.arbmag
fdesign.arbgrpdelay
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.