rc_fir

FIR approximation of raised cosine filter


Parameters

beta:

rool-off factor

osf:

over sampling factor

n:

number of coefficients of the FIR filter

Calling sequence

y = rc_fir(r,osf,n)
y = rc_fir(r,osf,n,'sum')     Normalize the coefficients to have sum = 1 (default behavior)
y = rc_fir(r,osf,n,'energy')  Normalize the coefficients to preserve energy : <span><img src='./_LaTeX_rc_fir.xml_1.png' style='position:relative;top:21px;width:85px;height:42px'/></span>

Description

Examples

h = rc_fir(r=0.5,osf=2,n=5);
plot_rimp(h);