stompfig.m

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

M
57
字号
function StOMPFig(num)% StOMPFig -- callback implementing functions of StOMPDemoglobal StOMPFIGNUMStOMPInitif 2 <= num & num <= 18 ,    nihil = ~exist('StOMPFIGNUM');    if ~nihil,        empty = isempty(StOMPFIGNUM);    else        empty = 1;    end    if ~empty,        nil   = StOMPFIGNUM == 0;    else        nil   = 1;    end    if nil,        StOMPInit    end    figname = sprintf('StOMPFigure%g',num);    clc; home; help(figname);    eval(figname);    RegisterPlot(figname,'{R}');    drawnow;    StOMPFIGNUM = num;elseif num==19,   % change default settings    clc; home    disp('There Are No Defaults to CHANGE');elseif num==20,   %run all figures    StOMPInit    for num=2:18,        figname = sprintf('StOMPFigure%g',num);        eval(figname);        RegisterPlot(figname,'{R}');        clc; home; help(figname);        drawnow;        StOMPFIGNUM = num;    endelse    disp('Bizarre argument in StOMPFig')    disp(sprintf('num =%g',num))end    %% Copyright (c) 2006. Victoria Stodden and David Donoho%  %% 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 + -
显示快捷键?