Programmer Guide/SPU Reference/RMS: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Root mean square of input <var>A</var>. | |||
==<code>[SPU RMS <var>A</var> OUT <var>Y</var>]</code>== | |||
== | {|class="einrahmen" | ||
!In !!Out !!Description | |||
<code>RMS <var>A</var></code> | |||
{| | |||
|- | |- | ||
|A | |<var>A<sub>number</sub></var> | ||
|number | |<var>Y<sub>number</sub></var> | ||
| | |<math>Y=|A|</math> | ||
= | |||
|- | |- | ||
|<var>Y</var> | |<var>A<sub>vector</sub></var> | ||
| | |<var>Y<sub>number</sub></var> | ||
|<math>Y=\sqrt{\frac{1}{n}\sum_{i=0}^{n-1}A[i]^2}</math> | |||
|} | |} | ||
with: n = length of <var>A<sub>vector</sub></var> | |||
;See also: | |||
<[[../#Signal Processing Atoms|SP-atoms]]> | |||
<!-- AN, 2.5.2011 --> | |||
< | |||
Latest revision as of 08:25, 6 May 2011
Root mean square of input A.
[SPU RMS A OUT Y]
In | Out | Description |
---|---|---|
Anumber | Ynumber | |
Avector | Ynumber |
with: n = length of Avector
- See also
<SP-atoms>