Programmer Guide/SPU Reference/RMS: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)

Revision as of 12:08, 28 April 2011

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

Navigation menu

Personal tools