4.5 Raised Cosine Shaping Pulses (Filters)
When designing a communication system, the channel bandwidth is typically specified and the task is to design a transmit signal with a spectrum that fits within the bandwidth and can successfully convey information to the receiver. As discussed, the Nyquist criterion for zero ISI indicates reasonable values for the symbol rate and the desired property for the shaping pulse.
The most widely used set of functions that satisfy the Nyquist criterion, or Nyquist pulses, are the raised cosine pulses (or filters), given by:
| (4.28) |
where is the roll-off factor, which controls the pulse bandwidth (more strictly, the transition band in frequency domain when interpreting as the impulse response of a filter). Note that when , Eq. (4.28) becomes the function.
Also note that Eq. (4.28) has singularities at and . Using L’Hospital’s rule leads to and .
Recalling that the oversampling is and noting that is always normalized by in Eq. (4.28), it is straightforward to rewrite Eq. (4.28) to obtain its discrete-time version. At the sampling instants , one has , which leads to
| (4.29) |
When using a raised-cosine pulse in practice, the pulse needs to be truncated. For example, one may only consider the time interval from to ( is assumed here to be symmetrical with respect to ). After truncation, a delay is added to make the filter causal.
Figure 4.29(a) shows raised cosines with bauds and roll-off and 1, while Figure 4.29(b) shows these pulses in the frequency domain. The spectrum of a raised cosine pulse is given by
| (4.30) |


1L=3; %oversampling factor (samples per symbol) 2r=0.5; %roll-off factor 3Dsym=2; %group delay considering the number of input symbols at Rsym 4p=ak_rcosine(1,L,'fir/normal',r,Dsym); %normal (not square-root) FIR 5ak_plotNyquistPulse(p,L) %plot spectrum replicas in frequency domain 6Ds=(length(p)-1)/2;%group delay considering output samples at Fs
Figure 4.30 and Figure 4.31 show graphs obtained with Listing 4.6. Application 4.2 discusses how to generate raised cosine filters in more details and it may be worth a peek. When using the rcosine function in Matlab (Octave misses it and here the companion ak_rcosine is assumed but the syntax is the same), a confusing aspect is that the fifth input parameter, the group delay, is accounted as the number of symbols (at rate) not of samples (at rate). For example, in Listing 4.6 this delay of 2 symbols, in combination with an oversampling of , gives a filter with a delay (in samples) of and consequently the order of the filter is 12 (the filter has 13 taps or coefficients). Note that, in this case, was calculated assuming length(p) is an odd number.
In summary, the FIR raised cosine is symmetric and has a constant group delay in the passband. This delay can be accounted as in number of symbols or in number of samples.
The roll-off can be written
where is the minimum bandwidth at a given symbol rate. Hence, the required bandwidth when using a raised cosine is
or, equivalently,
when is in bauds.
Note that when dealing with raised cosines, should not be understood as the 3-dB bandwidth, but the null-to-null bandwidth that includes passband and transition bands, from DC to the beginning of the stopband imposed by the first zero of the sinc. Eq. (4.30) describes the spectrum mathematically. Hence, in continuous-time, the passband of a raised cosine is determined by (or, equivalently, ) because determines the sinc of with spectrum given by Eq. (A.54). The value of controls the cosine parcel and, together with , determines the transition band with width .
In discrete-time signals, the parcel corresponding to the sinc in Eq. (4.29) has spectrum with bandwidth rad as given by Eq. (A.54), such that
as indicated, for example, in Figure 4.32, where rad.
While and control , the number of coefficients of the shaping pulse (or, equivalently, the order of this FIR filter) determines its attenuation in the stopband and group delay.

Figure 4.32 compares raised cosine pulses with and different orders, obtained with the command p1=rcosine(1,L,[],r,N), where N=1,5 and 20. For example, in Figure 4.32, and according to Eq. (A.54), the sinc parcel of the raised cosine imposes a of rad. Because , the cosine part of Eq. (4.29) creates a transition band of an extra 1.05 rad such that rad.