rectpulse
Rectangular pulse shaping
Syntax
y = rectpulse(x,nsamp)
Description
y = rectpulse(x,nsamp) applies
rectangular pulse shaping to x to produce an output
signal having nsamp samples per symbol. Rectangular
pulse shaping means that each symbol from x is
repeated nsamp times to form the output y.
If x is a matrix with multiple rows, the function
treats each column as a channel and processes the columns independently.
Note
To insert zeros between successive samples of x instead
of repeating the samples of x, use the upsample function instead.
Examples
An example in Combine Pulse Shaping and Filtering with Modulation uses
this function in conjunction with modulation.
The code below processes two independent channels, each containing
three symbols of data. In the pulse-shap