plotsforfixeddelta_lsoracle.m

来自「一种基于压缩感知技术的图像重建程序」· M 代码 · 共 27 行

M
27
字号
function PlotSforfixeddelta_lsoracle(slice,strg);%ErrVecL2,col)

% takes the output of GenSW2log0z1_errbd and plots a 'slice' of the
% dataset, for a fixed delta value (delta == n/p)

% note this is the 3D output format (di,ki,ti) where di=delta_i, 
% k_i is the number of nonzero coefficients in the true vector, 
% and t_i is the trial number, from Dec 25 2005 onwards.

%slice = median(squeeze(ErrVecL2(col,:,:)),2)';

plot(linspace(0.05,length(slice)/50,length(slice)),slice,strg)
title('Stepwise sqrt(2log(p)) threshold: L_2 Error levels for \rho, with \delta=.5, p=200');
xlabel('\rho = k / n'); ylabel=('Error');
axis([0 1 0 1]);

%
% Copyright (c) 2006. Victoria Stodden
%  

%
% Part of SparseLab Version:100
% Created Tuesday March 28, 2006
% This is Copyrighted Material
% For Copying permissions see COPYING.m
% Comments? e-mail sparselab@stanford.edu
%

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?