Implements a cosine filter or root cosine filter impulse response
R Roll-off factor
nT scalar vector of length 2 such as N = (nT(2)-nT(1))*rate+1
T symbol rate
filterType ’normal’ or ’sqrt’
h impulse response
st sampling interval
Example:
h = rcosfir(0.2,[-3 3],4,1,’sqrt’);
See also: filter, downsample, rectfilt.
Package: communications