RMS
From STX Wiki
Jump to navigationJump to search
RMS - rms measurement
Usage:
RMS A
Inputs:
A | number or vector |
Outputs:
Y | root mean square (rms) of A (number) |
Function:
Compute root mean square of input A.
if A is a number:
Y = |A|
if A is a vector:
Y = ((A[0] + ... + A[n-1]) / n)1/2 n = number of elements of A