1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
5
<TITLE>st_deviation</TITLE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>Januray 1998</DATE>
8
<SHORT_DESCRIPTION name="st_deviation"> standard deviation (row or
9
column-wise) of vector/matrix entries</SHORT_DESCRIPTION>
10
<SHORT_DESCRIPTION name="stdev"> standard deviation (row or column-wise) of vector/matrix entries</SHORT_DESCRIPTION>
12
<CALLING_SEQUENCE_ITEM>y=st_deviation(x) </CALLING_SEQUENCE_ITEM>
13
<CALLING_SEQUENCE_ITEM>y=st_deviation(x,'r') </CALLING_SEQUENCE_ITEM>
14
<CALLING_SEQUENCE_ITEM>y=st_deviation(x,'c') </CALLING_SEQUENCE_ITEM>
15
<CALLING_SEQUENCE_ITEM>y=stdev(x) </CALLING_SEQUENCE_ITEM>
16
<CALLING_SEQUENCE_ITEM>y=stdev(x,'r') </CALLING_SEQUENCE_ITEM>
17
<CALLING_SEQUENCE_ITEM>y=stdev(x,'c') </CALLING_SEQUENCE_ITEM>
22
<PARAM_NAME>x</PARAM_NAME>
24
<SP>: real vector or matrix</SP>
28
<PARAM_NAME>y</PARAM_NAME>
30
<SP>: scalar or vector</SP>
37
st_deviation computes the "sample" standard deviation, that
38
is, it is normalized by N-1, where N is the sequence length.</P>
40
For a vector or a matrix <VERB>x</VERB>, <VERB>y=st_deviation(x)</VERB> returns in the
41
scalar <VERB>y</VERB> the standard deviation of all the entries of <VERB>x</VERB>.</P>
42
<P><VERB>y=st_deviation(x,'r')</VERB> (or, equivalently,
43
<VERB>y=st_deviation(x,1)</VERB>) is the rowwise standard deviation. It returns in each
44
entry of the column vector <VERB>y</VERB> the standard deviation of each row of <VERB>x</VERB>.</P>
45
<P><VERB>y=st_deviation(x,'c')</VERB> (or, equivalently, <VERB>y=st_deviation(x,2)</VERB>) is the columnwise st_deviation. It returns in each entry of the row vector
46
<VERB>y</VERB> the standard deviation of each column of <VERB>x</VERB>.</P>
50
A=[1,2,10;7,7.1,7.01];