To interpolate a signal using rcosdesign in MATLAB, you can follow the following steps:
rcosdesign
function. The raised cosine filter is a low pass filter used for pulse shaping in digital communication systems. The rcosdesign
function is used to design a raised cosine filter with a given filter length, cutoff frequency and roll-off factor.main.m226 chars7 lines
upsample
function. Upsampling is the process of adding zeros between the original samples of a signal, thereby increasing the sample rate.main.m87 chars3 lines
filter
function. The filter
function is used to filter a signal with a given filter.main.m91 chars2 lines
downsample
function. Downsampling is the process of removing samples from a signal, thereby decreasing the sample rate.main.m69 chars2 lines
The filtered and downsampled signal y_downsampled
is the interpolated version of the original signal x
.
gistlibby LogSnag