comparison scripts/statistics/std.m @ 2311:2b5788792cad

[project @ 1996-07-11 20:18:38 by jwe]
author jwe
date Thu, 11 Jul 1996 20:18:38 +0000
parents 5cffc4b8de57
children 5ca126254d15
comparison
equal deleted inserted replaced
2310:e2a8f216373d 2311:2b5788792cad
15 ### You should have received a copy of the GNU General Public License 15 ### You should have received a copy of the GNU General Public License
16 ### along with Octave; see the file COPYING. If not, write to the Free 16 ### along with Octave; see the file COPYING. If not, write to the Free
17 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 17 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
18 ### 02111-1307, USA. 18 ### 02111-1307, USA.
19 19
20 ## usage: std (a)
21 ##
22 ## For vector arguments, std returns the standard deviation of the
23 ## values. For matrix arguments, std returns a row vector containing
24 ## the standard deviation for each column.
25 ##
26 ## See also: mean, median
27
20 function retval = std (a) 28 function retval = std (a)
21
22 ## usage: std (a)
23 ##
24 ## For vector arguments, std returns the standard deviation of the
25 ## values. For matrix arguments, std returns a row vector containing
26 ## the standard deviation for each column.
27 ##
28 ## See also: mean, median
29 29
30 if (nargin != 1) 30 if (nargin != 1)
31 usage ("std (a)"); 31 usage ("std (a)");
32 endif 32 endif
33 33