Code covered by the BSD License  

Highlights from
Norton-Beer apodization filter

Be the first to rate this file! 12 Downloads (last 30 days) File Size: 2.59 KB File ID: #41477

Norton-Beer apodization filter

by

 

24 Apr 2013 (Updated )

NORTONBEER produces a one-dimensional Norton-Beer apodization filter

| Watch this File

File Information
Description

  nortonbeer produces a one-dimensional Norton-Beer apodization filter
 
    nortonbeer(W) returns the W-point symmetric Norton-Beer window in a
    column vector.
   
    nortonbeer(W,C) permits custom assignment of the filter coefficients. The
    coefficients in C are used to produce the filter window FILT according
    to the following equation:
                 
    for ii = 0:numel(C)-1
        filt = filt + C(ii+1).*(1-U.^2).^ii;
    end
  
    In the above equation, C contains elements whose sum is
    automatically normalized to unity. U is the normalized path difference
    as defined by Norton and Beer. Little improvement is achieved through
    the use of more than 5 coefficients.
 
    Several filter parameters were defined by Norton and Beer. Those
    parameters can be used by defining C as one of the following character
    strings:
     
    'none' C = [1,0,0,0,0]
    'weak' C = [0.5480,-0.0833,0.5353,0,0]
    'medium' C = [0.26,-0.154838,0.894838,0,0]
    'strong' C = [0.09,0,0.5875,0,0.3225]
 
    By default, the 'weak' filter parameters are used.
 
    nortonbeer(W,C,SFLAG) generates the W-point Norton-Beer window using
    SFLAG window sampling. SFLAG may be either 'symmetric' or 'periodic'.
    By default, a symmetric window is returned.
 
   % Example:
   % Creates 64-point Norton Beer window and display the result in WVTool
 
    L = 64;
    wvtool(nortonbeer(L))
 
    See also blackman, hann, hamming, window.

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
24 Apr 2013

Documentation update; Output is now column vector

Contact us