Mercurial > hg > lots
view support/normcol.m @ 14:2e42f5fb764d
Updated documentation, deleted lotbasis (use ilot(eye) instead)
author | danieleb@code.soundsoftware.ac.uk |
---|---|
date | Tue, 21 Jun 2011 15:08:41 +0100 |
parents | e2a029a70df3 |
children |
line wrap: on
line source
function [x n] = normcol(x) %NORMCOL normalise the columns to unit length % % [x n] = normcol(x) % % normalises the columns of the input matrix x and returns a vector n % containing the initial norm of the columns. n = sqrt(sum(conj(x).*x,1)); x = x*diag(1./n);