Use the MATLAB commands filter and filt latt with the coefficients obtained in Exercise 12.9 to filter
Question:
Use the MATLAB commands filter and filt latt with the coefficients obtained in Exercise 12.9 to filter a given input signal. Verify that the output signals are identical. Compare the processing time and the total number of floating-point operations used by each command, using tic, toc, and flops.
Exercise 12.9
Design a highpass filter using the minimax method satisfying the following specifications:
\[\begin{aligned}A_{\mathrm{p}} & =0.8 \mathrm{~dB} \\A_{\mathrm{r}} & =40 \mathrm{~dB} \\\Omega_{\mathrm{r}} & =5000 \mathrm{~Hz} \\\Omega_{\mathrm{p}} & =5200 \mathrm{~Hz} \\\Omega_{\mathrm{s}} & =12000 \mathrm{~Hz} .\end{aligned}\]
Determine the corresponding lattice coefficients for the resulting filter using the command you created in Exercise 12.3. Compare the results obtained using the standard command tf2latt.
Exercise 12.3.
Write down a MatLab command that determines the FIR lattice coefficients from the FIR direct-form coefficients.
Step by Step Answer:
Digital Signal Processing System Analysis And Design
ISBN: 9780521887755
2nd Edition
Authors: Paulo S. R. Diniz, Eduardo A. B. Da Silva , Sergio L. Netto