Programmer Guide/SPU Reference/RMS: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
|<var>A<sub>number</sub></var> | |<var>A<sub>number</sub></var> | ||
|<var>Y<sub>number</sub></var> | |<var>Y<sub>number</sub></var> | ||
|<var>Y</var> = <math>|A| | |<var>Y</var> = <math>|A|</math> | ||
|- | |- | ||
|<var>A<sub>vector</sub></var> | |<var>A<sub>vector</sub></var> | ||
|<var>Y<sub>number</sub></var> | |<var>Y<sub>number</sub></var> | ||
|<var>Y</var> = <math>\sum_{i=0}^{n-1}A[i]</math> | |<var>Y</var> = <math>\sqrt{\frac{1}{n}\sum_{i=0}^{n-1}A[i]^2}</math> | ||
|} | |} | ||
with: n = length of <var>A<sub>vector</sub></var> | with: n = length of <var>A<sub>vector</sub></var> |
Revision as of 08:21, 6 May 2011
Root mean square of input A.
[SPU RMS A OUT Y]
In | Out | Description |
---|---|---|
Anumber | Ynumber | Y = |
Avector | Ynumber | Y = |
with: n = length of Avector
- See also
<SP-atoms>