资源简介
压缩感知的一个恢复算法,规则化正交匹配追踪
代码片段和文件信息
ifunction [vOut numIts] = romp(n Phi x)
% [vOut] = romp(n Phi x)
%%% PARAMETERS %%%%%%%%%%%%%%%%%%%%%%%%%%%
% d = ambient dimension of the signal v
% N = number of measurements
% n = sparsity level of n
% Phi = N by d measurement matrix
% x = measurement vector (Phi * v)
% vOut = reconstructed signal
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% FUNCTION DEscriptION %%%%%%%%%%%%%%%%%
% romp takes parameters as described
% above. Given the sparsity level n and
% the N by d measurement matrix Phi and
% the measurement vector x = Phi * v romp
% reconstructs the original signal v.
% This reconstruction is the output.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear r I J J0 u b ix numIts Jvals
warning off all
N = size(Phi 1);
d = size(Phi 2);
% Set resi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2030 2009-08-28 16:01 regular_omp.m
评论
共有 条评论