Raised Cosine

Share:

Description

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

Reference: G. Proakis, Digital Communications, 3rd ed., New York: McGraw-Hill, 1995.

Usage

1
rcosine(x,B,Ns)

Arguments

x

- input vector

B

- roll-off factor

Ns

- Ns samples per symbol

Value

Response (Double, Numeric vector) of the 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

1
2
3
4
5
6
B=0
Ns=8
hx=seq(-3*Ns,3*Ns,by=1)
h=rcosine(hx,B,Ns)
plot(hx/Ns,h, ylim=c(-0.2,1), xlim=c(-3,3), pch=19, cex=0.1, ylab="h", xlab="T", type="l")
grid( col = "grey50", lty = "dotted")