Mercurial > hg > octave-lyh
comparison scripts/statistics/base/statistics.m @ 3453:71d2e09c15a2
[project @ 2000-01-18 08:32:09 by jwe]
author | jwe |
---|---|
date | Tue, 18 Jan 2000 08:32:15 +0000 |
parents | f8dde1807dee |
children | 434790acb067 |
comparison
equal
deleted
inserted
replaced
3452:a892190f4977 | 3453:71d2e09c15a2 |
---|---|
12 ## | 12 ## |
13 ## You should have received a copy of the GNU General Public License | 13 ## You should have received a copy of the GNU General Public License |
14 ## along with this file. If not, write to the Free Software Foundation, | 14 ## along with this file. If not, write to the Free Software Foundation, |
15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 | 16 |
17 ## usage: S = statistics (X) | 17 ## -*- texinfo -*- |
18 ## @deftypefn {Function File} {} statistics (@var{x}) | |
19 ## If @var{x} is a matrix, return a matrix with the minimum, first | |
20 ## quartile, median, third quartile, maximum, mean, standard deviation, | |
21 ## skewness and kurtosis of the columns of @var{x} as its rows. | |
18 ## | 22 ## |
19 ## If X is a matrix, return a matrix S with the min, first quartile, | 23 ## If @var{x} is a vector, treat it as a column vector. |
20 ## median, third quartile, max, mean, std, skewness and kurtosis of the | 24 ## @end deftypefn |
21 ## columns of X as its rows. | |
22 ## | |
23 ## If X is a vector, treat it as a column vector. | |
24 | 25 |
25 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> | 26 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> |
26 ## Description: Compute basic statistics | 27 ## Description: Compute basic statistics |
27 | 28 |
28 function S = statistics (X) | 29 function S = statistics (X) |