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).


icon

Inputs/Outputs

  • c2ddbl.png 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.

  • i2ddbl.png Normalized Matrix

    Normalized Matrix is the output normalized matrix.

  • idbl.png standard deviation

    standard deviation is the standard deviation of Matrix.

  • idbl.png mean

    mean is the mean of Matrix.

  • ii32.png 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.