資源簡介
匹配追蹤算法OMP的 matlab代碼,實驗中常用到的子程序。很好用的哦
代碼片段和文件信息
function?[A]=OMP(DXL);?
%=============================================
%?Sparse?coding?of?a?group?of?signals?based?on?a?given?
%?dictionary?and?specified?number?of?atoms?to?use.?
%?input?arguments:?
%???????D?-?the?dictionary?(its?columns?MUST?be?normalized).
%???????X?-?the?signals?to?represent
%???????L?-?the?max.?number?of?coefficients?for?each?signal.
%?output?arguments:?
%???????A?-?sparse?coefficient?matrix.
%=============================================
[nP]=size(X);
[
評論
共有 條評論