Skip to content

jwittke/omp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Matching Pursuit (MP) / Orthogonal Matching Pursuit (OMP)

This is a Matlab implementation of MP/OMP algorithm. Demo script runs the MP and OMP algorithms and compares their performace in terms of accuracy of recovery, sparsity, and speed.

Description of files

  • demo_omp : test script for MP/OMP
  • mp.m : function for MP
  • omp.m : function for OMP

MP / OMP

MP and OMP are greedy algorithms for sparse representation. It is used for choosing atoms from dictionary, solving the following optimization problem in a greedy way:

min ||x||0 subject to Ax = b

or

min ||Ax-b||2 subject to ||x||0 < S

In general, solving the above problem is NP-hard problem, but it can be solved much faster with greedy methods like MP/OMP. It is guaranteed that it finds the exact solution (the unique, sparsest solution) under a certain condition that requires incoherence of A.

About

matlab implementation of mp / omp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • MATLAB 100.0%