powered by
Input values from the interval from zero to one, i.e., normalized values, are mapped to the interval from a to b.
code2nat(x, a, b)
matrix of m n-dimensional input values from the interval [0;1], i.e, dim(x) = m x n
matrix
[0;1]
vector of n-dimensional lower bound, i.e., length(a) = n
vector
vector of n-dimensional upper bound, i.e., length(b) = n
# NOT RUN { x <- matrix(runif(10),2) a <- c(-1,1,2,3,4) b <- c(1,2,3,4,5) R <- code2nat(x,a,b) # }
Run the code above in your browser using DataLab