Mercurial > hg > smallbox
annotate util/ksvd utils/normcols.m @ 115:921f9931c84f sup_158_IMG_Processing_toolbox_
IMP toolbox dependency removed from SMALL_ImgDeNoiseResult
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Tue, 24 May 2011 16:13:04 +0100 |
parents | c3eca463202d |
children |
rev | line source |
---|---|
idamnjanovic@70 | 1 function y = normcols(x) |
idamnjanovic@70 | 2 %NORMCOLS Normalize matrix columns. |
idamnjanovic@70 | 3 % Y = NORMCOLS(X) normalizes the columns of X to unit length, returning |
idamnjanovic@70 | 4 % the result as Y. |
idamnjanovic@70 | 5 % |
idamnjanovic@70 | 6 % See also ADDTOCOLS. |
idamnjanovic@70 | 7 |
idamnjanovic@70 | 8 |
idamnjanovic@70 | 9 % Ron Rubinstein |
idamnjanovic@70 | 10 % Computer Science Department |
idamnjanovic@70 | 11 % Technion, Haifa 32000 Israel |
idamnjanovic@70 | 12 % ronrubin@cs |
idamnjanovic@70 | 13 % |
idamnjanovic@70 | 14 % April 2009 |
idamnjanovic@70 | 15 |
idamnjanovic@70 | 16 |
idamnjanovic@70 | 17 y = x*spdiag(1./sqrt(sum(x.*x))); |