DSP Blockset | ![]() ![]() |
Step 3 -- Set the Lowpass Digital Filter Block Parameters. Double-click one of the Digital Filter blocks and set its filter parameters as indicated in Figure ; this block is the lowpass filter that filters out the noise from the noisy sine wave signal.
Note that when implementing your lowpass filter (and any other filter) with the Digital Filter block, you need to provide the following basic information about your filter:
Also note that you can provide the filter coefficients in several ways:
lopassNum
in Figure ). The variable could be a result of running filter design commands or of using the Digital Filter Design block to design a filter.
fir1(5, 0.2, 'low')
.
Lowpass Digital Filter Block Settings
![]() | Step 2 -- Get Necessary Blocks | Step 4 -- Set the Highpass Digital Filter Block Parameters | ![]() |