What problem does it solve?
Choosing the right adaptive filter algorithm, configuring stable step sizes, and extracting converged weights in MATLAB are error-prone tasks, especially since the deprecated adaptfilt.* package was removed in R2020a and each dsp.*Filter object exposes weights differently.
Core Features & Use Cases
- Algorithm Selection: Route system identification, noise cancellation, echo cancellation, active noise control, equalization, and prediction tasks to the correct System object (LMS, RLS, FxLMS, FDAF, Affine Projection, Block LMS, Lattice, Fast Transversal).
- Stability and Convergence Guidance: Use maxstep() where supported, tune ForgettingFactor for RLS, and avoid divergence pitfalls such as sign-based LMS with zero initial weights.
- Correct Weight Extraction: Access coefficients per object, including third-output extraction for dsp.LMSFilter and FFTCoefficients plus IFFT for partitioned FDAF.
- Use Case: Build a real-time acoustic echo canceller with a 2048-tap partitioned constrained FDAF at 8 ms latency, or a two-stage active noise control system using dsp.FilteredXLMSFilter with an estimated secondary path.
Quick Start
Ask your agent to design an adaptive filter for system identification of an unknown FIR system using dsp.LMSFilter with a stable step size from maxstep.