Normalize Matrix VI
- Updated2025-07-30
- 2 minute(s) read
Normalizes the input vector or matrix using its statistical profile (µ,s), where µ is the mean and s is the standard deviation, to obtain a Normalized Vector or Normalized Matrix whose statistical profile is (0,1).

Inputs/Outputs
Matrix
—
Matrix is the 2D input matrix. If Matrix is an empty array, Normalized Matrix is also an empty array, and mean and standard deviation are NaN.
Normalized Matrix
—
Normalized Matrix is the output normalized matrix.
standard deviation
—
standard deviation is the standard deviation of Matrix.
mean
—
mean is the mean of Matrix.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Normalize Vector
This VI calculates Normalized Vector using the following equation:
where Y represents the output sequence Normalized Vector, X represents the input sequence Vector of length n, and xi is the ith element of X.
Normalize Matrix
This VI calculates Normalized Matrix using the following equation:
where B represents the 2D output sequence Normalized Matrix, A represents the 2D input sequence Matrix with n rows and m columns, and aij is the element of A on the ith row and jth column.
Matrix
—
Normalized Matrix
—
standard deviation
—
error
—