Name

CL_colNorm — Columnwise vectorized norm

Calling Sequence

   norms = CL_colNorm(M)
   
   

Parameters

M:

Matrix (KxNxP) containing vectors columnwise (M=[v1 v2 v3 v4] where vi are Kx1)

norms:

vector of norms (1xNxP), where norms(i) = norm de la colonne i de M

Description

  • Computes the norm of each column in matrix M. CL_colNorm is a vectorized vector norm.

    NOTE: To apply the norm by rows use CL_colNorm(M')

    NOTE: if P~=1 (u is an hypermatrix) then norms(:,:,i) = CL_colNorm(M(:,:,i)).

  • Last update : 27/04/2007

Authors

CNES - DCT/SB