Computes the moment about the mean of the input sequence X using the specified order, m. Details
![]() |
If the input sequence X is empty, moment is NaN. |
![]() |
order must be greater than zero. If order is less than or equal to zero, the VI sets moment to NaN and returns an error. The default is 2. |
![]() |
moment, which is calculated using the specified order, is the moment about the mean of the input sequence X. |
![]() |
error returns any error or warning condition from the VI. |
The VI computes the -order moment using the formula:
where is the
-order moment, and n is the number of elements in the input sequence X.