File Exchange

image thumbnail


version (1.93 KB) by Joshua Carmichael
The classic matching pursuit algorithm

1 Download

Updated 03 May 2010

View Version History

View License

This function is a more robust and improved version of my previous submission, matchingpursuit.m

This function computes the projection of a given input vector or matrix onto a "dictionary" of other vectors or matrices using a matching pursuit algorithm. Users may input a vector to be synthesized, or a matrix. The dictionary elements are input as arrays. See "help matchPurs.m". You must also download normColumns.m from the exchange.

Cite As

Joshua Carmichael (2021). matchPurs.m (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

wang yu

nice it can help me to do mptk

vaishali kumar

I downloaded matchpurs.m file and tried to work with it but i hung with the following error.
>> [sig sampleRate] = sigread('vipmen1.wav');
dict = dictread(mptkInfo.path.defaultDict);
>> [S,R,e,indx] = matchPurs(sig,dict);
??? Undefined function or method 'mtimes' for input arguments of type 'struct'.

Error in ==> matchPurs at 63
ipvec(k) = trace(R'*W(:,:,k))./norm( W(:,:,k), 'fro');

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!