nrz
NRZ pulse shaping
Calling sequence
y = nrz(b,osf)
y = nrz(b,osf)
Parameters
- b:
input binary sequence
- osf:
Over-Sampling Factor
- y:
output NRZ signal
input binary sequence
Over-Sampling Factor
output NRZ signal
Description
This function convert a binary sequence (0 and 1) to a sequence of -1 and 1, where each symbol is repeated (according to the osf parameter). To say it another way, this is the same as using as a pulse-shaping filter a moving average of length equal to the symbol period.