changeset 172:9c41f87dead7 danieleb

Minor edit
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Thu, 17 Nov 2011 11:14:23 +0000
parents e8428989412f
children 7426503fc4d1
files util/classes/dictionaryMatrices/rotatematrix.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/classes/dictionaryMatrices/rotatematrix.m	Thu Oct 06 14:33:52 2011 +0100
+++ b/util/classes/dictionaryMatrices/rotatematrix.m	Thu Nov 17 11:14:23 2011 +0000
@@ -59,7 +59,7 @@
 	iIter = iIter+1;				% update iteration counter
 end
 Dhat = W*Phi;						%rotate matrix
-cost(iIter:end) = cost(iIter-1);	%pad cost vector
+cost(iIter:end) = cost(iIter-1);	%zero-pad cost vector
 end
 
 %% Support functions