Code covered by the BSD License  

Highlights from
allpass.m

4.25

4.2 | 4 ratings Rate this file 37 Downloads (last 30 days) File Size: 1.97 KB File ID: #59

allpass.m

by Dean Andersen

 

09 Jan 1998

Allpass filter

| Watch this File

File Information
Description

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)

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
13 Nov 2003 Hamza Sýed  
29 Jan 2004 antonio garrovillo  
01 May 2008 chris sarette

test

20 May 2008 Schneider Huetter

Can be easily modified to place the pole-zero-pairs at arbitrary angles and radii. Thanks!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
filter design Dean Andersen 22 Oct 2008 06:31:12
filter analysis Dean Andersen 22 Oct 2008 06:31:12
allpass Dean Andersen 22 Oct 2008 06:31:12
all Dean Andersen 22 Oct 2008 06:31:12
pass Dean Andersen 22 Oct 2008 06:31:12
filter Dean Andersen 22 Oct 2008 06:31:12
allpass ofer best 29 Nov 2008 06:59:35
filter design Jim 20 May 2009 22:45:36
filter analysis Jim 20 May 2009 22:45:39
allpass williams 12 Oct 2011 18:31:59

Contact us at files@mathworks.com