phaseplot.m

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

M
26
字号
function PhasePlot(Empirical,CurvePredict,deltaArr,deltaLen,rhoArr,rhoLen,N,str)% Plots a phase diagram of the empirical data, and overlays it with the % predicted phase transition. [Delta,Rho] = meshgrid(deltaArr,rhoArr);pcolor(Delta,Rho,Empirical');  colormap (1-gray); shading interp; colorbar;xlabel('\delta = n / N'); ylabel('\rho = k / n'); hold on; plot(CurvePredict(:,1),CurvePredict(:,2),'r','LineWidth',2); hold off;title(str);%% Copyright (c) 2006. 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 + -
显示快捷键?