# HG changeset patch # User luisf # Date 1332427264 0 # Node ID 8b3c71bb44ebdbc0ed2b199da5829a485b84db54 # Parent a986ee86651e8b648c7eb2611b09ec95ba4745e6 Removed "clear all" from example scripts (subs by "clear" instead) diff -r a986ee86651e -r 8b3c71bb44eb examples/AudioInpainting/Audio_Declipping_Example.m --- a/examples/AudioInpainting/Audio_Declipping_Example.m Thu Mar 22 11:41:04 2012 +0000 +++ b/examples/AudioInpainting/Audio_Declipping_Example.m Thu Mar 22 14:41:04 2012 +0000 @@ -24,7 +24,7 @@ % %% -clear all; +clear; % Defining the solvers to test in Audio declipping scenario % First solver omp2 - DCT+DST dictionary with no additional constraints diff -r a986ee86651e -r 8b3c71bb44eb examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m --- a/examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m Thu Mar 22 11:41:04 2012 +0000 +++ b/examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m Thu Mar 22 14:41:04 2012 +0000 @@ -22,7 +22,7 @@ % COPYING included with this distribution for more information. %% -clear all; +clear; %% Load an image TMPpath=pwd; diff -r a986ee86651e -r 8b3c71bb44eb examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m --- a/examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m Thu Mar 22 11:41:04 2012 +0000 +++ b/examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m Thu Mar 22 14:41:04 2012 +0000 @@ -33,7 +33,7 @@ % COPYING included with this distribution for more information.%% %% -clear all; +clear; %% Load an image TMPpath=pwd; diff -r a986ee86651e -r 8b3c71bb44eb examples/Pierre Villars/Pierre_Villars_Example.m --- a/examples/Pierre Villars/Pierre_Villars_Example.m Thu Mar 22 11:41:04 2012 +0000 +++ b/examples/Pierre Villars/Pierre_Villars_Example.m Thu Mar 22 14:41:04 2012 +0000 @@ -19,7 +19,7 @@ % %% -clear all; +clear; % Defining the Problem structure @@ -44,14 +44,10 @@ psnr = zeros(1,n); for i=1:n - - % Set reconstruction function SMALL.Problem.reconstruct=@(x) Pierre_reconstruct(x, SMALL.Problem); - - % Defining the parameters sparse representation SMALL.solver(i)=SMALL_init_solver; SMALL.solver(i).toolbox='SMALL';