Learn R Programming

rwirelesscom (version 1.4.3)

sqrtrcosine: Square Root Raised Cosine

Description

sqrtrcosine(x,B,Ns) = [sin((1-B)*pi*x[n]/Ns)/(pi*x[n]/Ns)+(4*B*x[n]/Ns)*cos((1+B)*pi*x[n]/Ns)]/((pi*x[n]/Ns)(1-(4*B*x[n]/Ns)^2))

Reference:

1. S. Daumont, R. Basel, Y. Louet, "Root-Raised Cosine filter influences on PAPR distribution of single carrier signals", ISCCSP 2008, Malta, 12-14 March 2008.

2. 3GPP TS 25.104 V6.8.0 (2004-12)

Usage

sqrtrcosine(x,B,Ns)

Arguments

x
- input vector
B
- roll-off factor
Ns
- Ns samples per symbol

Value

Response (Double, Numeric vector) of the suare root raised rcosine function applied to the input vector x with roll-off factor B and Ns samples per symbol.

See Also

Other rwirelesscom functions: f16pskdemod; f16pskmod; f16qamdemod; f16qammod; f64qamdemod; f64qammod; f8pskdemod; f8pskmod; fbpskdemod; fqpskdemod; fqpskmod; rcosine; sqrtrcosine; iqdensityplot; iqscatterplot; stemplot; eyediagram; sinc

Examples

Run this code
Ns=16
B=0.5
hx=seq(-5*Ns,5*Ns,by=1)
h1=sqrtrcosine(hx,B,Ns=Ns)
plot(hx/Ns,h1, ylim=c(-0.2,1.1), xlim=c(-3,3), pch=19, cex=0.1, ylab="h", xlab="T", type="l")
grid( col = "grey50", lty = "dotted")

Run the code above in your browser using DataLab