File: st_deviation.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (40 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

st_deviation(1)                Scilab Function                st_deviation(1)
NAME
  st_deviation - standard deviation (row or column-wise) of vector/matrix
  entries

CALLING SEQUENCE
  y=st_deviation(x)
  y=st_deviation(x,'r')
  y=st_deviation(x,'c')

PARAMETERS

  x         : real vector or matrix

  y         : scalar or vector

DESCRIPTION
  st_deviation computes the "sample" standard deviation, that is, it is nor-
  malized by N-1, where N is the sequence length.

  For a vector or a matrix x, y=st_deviation(x)  returns in the scalar y the
  standard deviation of all the entries of x.

  y=st_deviation(x,'r') (or, equivalently, y=st_deviation(x,2)) is the row-
  wise standard deviation. It returns in each entry of the column vector y
  the standard deviation of each row of x.

  y=st_deviation(x,'c') (or, equivalently, y=st_deviation(x,1)) is the
  columnwise st_deviation. It returns in each entry of the row vector y the
  standard deviation of each column  of x.

EXAMPLE
  A=[1,2,10;7,7.1,7.01];
  st_deviation(A)
  st_deviation(A,'r')
  st_deviation(A,'c')

SEE ALSO
  sum, median, mean