allpass.m

Allpass filter
9.2K Downloads
Updated 9 Jan 1998

View License

Many systems require phase compensation. An allpass filter provides just that without affecting magnitude response. This function creates a filter with a magnitude response of unity and n number of pole/zero complex-conjugate pairs spaced evenly starting at Fst and ending at Fed. The order of the allpass filter is 2n. The coefficients of the filter, b and a, are passed as output arguments. ALLPASS can run without the output arguments. This will display the Pole-Zero plot and the frequency response of the filter.

Syntax:
>>[b,a]=allpass(n,Fst,Fed,mag,Fs) or
>>allpass(n,Fst,Fed,mag,Fs)

Cite As

Dean Andersen (2024). allpass.m (https://www.mathworks.com/matlabcentral/fileexchange/59-allpass-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0