资源简介

分段自适应正交匹配追踪StOMP算法源程序,压缩感知里面很好的算法

资源截图

代码片段和文件信息

function [omp_result support residual_error] =StOMP(Sc dictionary_matrix S Pfa)
% Sc表观测
% dictionary_matrix表超完备矩阵
% iteration表迭代次数
% S稀疏度
residual_error=Sc;%残差
support = [];
omp_result=zeros(size(dictionary_matrix2)1);
Tfa = sqrt(2*log10(1/Pfa));
for k=1:10  %迭代10次                                
    support_0 = [];
    inner_product=dictionary_matrix‘*residual_error;
    nrm = norm(inner_product);
%    nrm = norm(residual_error);
    Threshold = Tfa*nrm/sqr

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         989  2013-06-24 15:24  StOMP.m

评论

共有 条评论