Raised cosine FIR pulse-shaping filter design

`b = rcosdesign(beta,span,sps)`

`b = rcosdesign(beta,span,sps,shape)`

returns
the coefficients, `b`

= rcosdesign(`beta`

,`span`

,`sps`

)`b`

, that correspond to a square-root
raised cosine FIR filter with rolloff factor specified by `beta`

.
The filter is truncated to `span`

symbols, and
each symbol period contains `sps`

samples. The
order of the filter, `sps*span`

, must be even. The
filter energy is 1.

If you have a license for Communications Toolbox™ software, you can perform multirate raised cosine filtering with streaming behavior. To do so, use the System object™ filters,

`comm.RaisedCosineTransmitFilter`

and`comm.RaisedCosineReceiveFilter`

.

[1] Tranter, William H., K. Sam Shanmugan, Theodore S. Rappaport,
and Kurt L. Kosbar. *Principles of Communication Systems
Simulation with Wireless Applications.* Upper Saddle River,
NJ: Prentice Hall, 2004.