could you tell me step by step the algorithm to design an arbitrary phase response IIR allpass filter design ?
I know Matlab uses a "brute force" algorithm to find an arbitrary group delay response but how do they do that?
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.
Sign up to join this communitycould you tell me step by step the algorithm to design an arbitrary phase response IIR allpass filter design ?
I know Matlab uses a "brute force" algorithm to find an arbitrary group delay response but how do they do that?
Depends a bit on what exactly you are trying to do. Generally, strict all-pass filters have reciprocal zeros and poles. This will always result in 180 phase shift per filter order so an arbitrary phase response that's strictly allpass cannot be designed. Example: let's say you want something that's in phase at DC, sits at -90 degrees in the band and then goes slowly back to zero at Nyquist: this can't be implemented using strict all-passes.
Of course you can always approximate but the best method tends to depend on the specifics of your design problems and what types of errors you can tolerate.