changeset 217:8b3c71bb44eb luisf_dev

Removed "clear all" from example scripts (subs by "clear" instead)
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 22 Mar 2012 14:41:04 +0000
parents a986ee86651e
children c38d965b5a1d
files examples/AudioInpainting/Audio_Declipping_Example.m examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m examples/Pierre Villars/Pierre_Villars_Example.m
diffstat 4 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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;
--- 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;
--- 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';