Code covered by the BSD License  

Highlights from
matchPurs.m

5.0

5.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 1.93 KB File ID: #27454

matchPurs.m

by Joshua Carmichael

 

02 May 2010 (Updated 03 May 2010)

The classic matching pursuit algorithm

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.8 (R2009a)
Other requirements Required: normColumns.m, also available through central file exchange, or through me personally
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
10 Feb 2011 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');
 

24 Aug 2011 wang yu

nice it can help me to do mptk

Please login to add a comment or rating.
Updates
03 May 2010

This product requires normColumns.m, which I neglected to initially included in my submission.

03 May 2010

renamed file description to matchPurs.m so users could find it easier.

Tag Activity for this File
Tag Applied By Date/Time
matching pursuit Joshua Carmichael 03 May 2010 11:20:50
projection Joshua Carmichael 03 May 2010 11:20:50
signal processing Joshua Carmichael 03 May 2010 11:20:50
basis Joshua Carmichael 03 May 2010 11:20:50

Contact us at files@mathworks.com