diff examples/Pierre Villars/Pierre_Villars_Example.m @ 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 f42aa8bcb82f
children
line wrap: on
line diff
--- 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';