mat.norm: Normalization of a Matrix

Description Usage Arguments Value Author(s) Examples

View source: R/mat.norm.r

Description

A matrix is normalized by dividing each entry [i,j] by the square root of the product of the diagonal entries [i,i] and [j,j]. The input matrix should be a square matrix with positive diagonal entries.

Usage

1
mat.norm(mat)

Arguments

mat

numerical matrix to be normalized

Value

The normalized matrix is returned.

Author(s)

Franziska Hoffgaard

Examples

1
2
a<-matrix(runif(16, 1, 15), 4, 4)
b<-mat.norm(a)

BioPhysConnectoR documentation built on May 30, 2017, 6:46 a.m.