Computes the mean squared error (mse) of the input sequences X Values and Y Values. Details
![]() |
If the number of elements in Y Values is different from the number of elements in X Values, the VI computes mse based on the sequence that contains the fewest elements. |
![]() |
If the number of elements in X Values is different from the number of elements in Y Values, the VI computes mse based on the sequence that contains the fewest elements. |
![]() |
mse is the mean squared error. If one of the input sequences is an empty array, the value of mse is NaN. |
![]() |
error returns any error or warning condition from the VI. |
This VI uses the following formula:
where n is the number of data points, x is the array X Values, and y is the array Y Values.