Digital Signal Processing Reference
In-Depth Information
1.
Access MATLAB, and set the path to
c:\C6713\myprojects\
RTDX_MATLABFIR
. Open the MATLAB program (
mwslider.m
) and set the
appropriate path (within the program). Within MATLAB, type
mwslider
.
This MATLAB program
mwslider.m
displays a slider to select among the
three sets of filter coefficients, and plots both the filtered signal and its spec-
trum. You should obtain Figure 9.12 (without the plots). The slider is initially
set to implement the lowpass filter with a cutoff frequency of 600 Hz.
(
a
)
FIGURE 9.12.
MATLAB plots with slider used to select one of three FIR lowpass filter
coefficients. The upper and lower graphs show the filtered signal and its spectrum, respec-
tively: (
a
) selecting BW of 600 Hz; (
b
) selecting BW of 1500 Hz; (
c
) selecting BW of 3000 Hz.
Search WWH ::
Custom Search