STAT

From STX Wiki
Jump to navigationJump to search

Mean and standard deviation of input A.

[SPU STAT A OUT MY SIGMA]

In Out
Anumber MY=A
SIGMA=0
Avector MY=1n∑i=0n−1A[i]
SIGMA=1n−1∑i=0n−1(A[i]−MY)2

with: n = length of Avector

See also

<SP-atoms>

Navigation menu

Personal tools