Programmer Guide/SPU Reference/STAT: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Mean and standard deviation of input <var>A</var>. | |||
==<code>[SPU SUM <var>A</var> OUT <var>Y</var>]</code>== | |||
== | {|class="einrahmen" | ||
!In !!Out | |||
<code> | |||
{| | |||
|- | |- | ||
| | |<var>A<sub>number</sub></var> | ||
|<math>MY=A</math><BR><math>SIGMA=0</math> | |||
| | |||
= | |||
|- | |- | ||
| | |<var>A<sub>vector</sub></var> | ||
| | |<math>MY=\frac{1}{n}\sum_{i=0}^{n-1}A[i]</math> | ||
|} | |} | ||
with: n = length of <var>A<sub>vector</sub></var> | |||
;See also: | |||
<[[../#Signal Processing Atoms|SP-atoms]]> | |||
<!-- AN, 2.5.2011 --> | |||
[[ | |||
Revision as of 09:15, 6 May 2011
Mean and standard deviation of input A.
[SPU SUM A OUT Y]
In | Out |
---|---|
Anumber | |
Avector |
with: n = length of Avector
- See also
<SP-atoms>