pub fn matching_pursuit<T>(
signal: &Signal<T>,
dictionary: &dyn Dictionary<T>,
max_iterations: usize,
tolerance: f64,
) -> Result<MatchingPursuitResult<T>>Expand description
Matching Pursuit algorithm for sparse signal decomposition
Iteratively selects atoms that best match the residual signal.
§Arguments
signal- Input signal to decomposedictionary- Dictionary of atomsmax_iterations- Maximum number of iterationstolerance- Stop when residual energy drops below this threshold
§Returns
Sparse decomposition result