Learn R Programming

CaliCo (version 0.1.1)

unscale.matrix.diag: Function which unscale only the diagonal component of a matrix

Description

Function which unscale only the diagonal component of a matrix

Usage

unscale.matrix.diag(M, binf, bsup)

Arguments

M

the matrix

binf

the lower bound

bsup

the upper bound

Value

the normalized diagonal

Examples

Run this code
# NOT RUN {
X <- diag(3)*runif(3)
Y <-unscale.matrix.diag(X,rep(10,3),rep(15,3))
print(Y)
# }

Run the code above in your browser using DataLab