Is it possible to implement an ideal allpass filter in Matlab? The filter response should be like this:
Note: the photo is imaginary (I did it using paint).
Is it possible to implement an ideal allpass filter in Matlab? The filter response should be like this:
Note: the photo is imaginary (I did it using paint).
Yes, of course. Any delay will look like this where the size of the delay determines the slope of the phase. If the the delay turns out to be an integer number of samples, than this very easy to implement. You can also do fractional delays but that's more work and can only be done approximately.