Programmer Guide/SPU Reference/RMS: Difference between revisions

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

Revision as of 18:31, 18 November 2010

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