Advanced Analysis Library Only
AnalysisLibErrType RMS (double inputArray[], int numberOfElements, double *rootMeanSquared);
Calculates the root-mean-square (rms) value of the input array. RMS uses the following formula to find the rms value:
| Input | ||
| Name | Type | Description |
| inputArray | double-precision array | Input array used to compute the rms value. |
| numberOfElements | integer | Number of elements used to compute the rms value. |
| Output | ||
| Name | Type | Description |
| rootMeanSquared | double-precision | Root-mean-square value of the input array. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |