fbpskmod: BPSK Modulator

Description Usage Arguments Value See Also Examples

Description

Receives a vector of bits, each with value 0 or 1, and outputs a vector with values 1 and -1, respectively.

Usage

1
fbpskmod(bits, Ns = 1, p = 1)

Arguments

bits

vector of bits (0's and 1's)

Ns

N samples per symbol (default, Ns = 1)

p

a vector defining the pulse shape of the transmitted waveform (default, p = 1)

Value

Returns a BPSK modulated vector, each element taking on values of 1 or -1. If Ns > 1 then the returned signal is shaped with pulse shape, p.

See Also

Other rwireless: eyediagram, f16pskdemod, f16pskmod, f16qamdemod, f16qammod, f64qamdemod, f64qammod, f8pskdemod, f8pskmod, fNo, fbpskdemod, fqpskdemod, fqpskmod, iqdensityplot, iqscatterplot, stemplot

Examples

1
2
bits <- sample(0:1,10, replace=TRUE)
fbpskmod(bits)

algutier1/rwirelesscom documentation built on May 12, 2019, 10:06 a.m.