comparison scripts/statistics/base/cov.m @ 12856:cad4cba03f19

Deprecate corrcoef, cor and replace with Matlab equivalent corr The value calculated by Octave's corrcoef and cor are the same as the value calculated by the Matlab function corr. Use MathWorks naming convention for this functionality. * corr.m: New file with functionality of corrcoef.m * cov.m, kendall.m, spearman.m, cor_test.m: Adjust scripts to call corr() * statistics/base/module.mk, deprecated/module.mk: Inform Automake about deprecated functions * NEWS: Inform users about deprecation * stats.txi: Add corr() to documentation.
author Rik <octave@nomad.inbox5.com>
date Sat, 16 Jul 2011 20:38:00 -0700
parents 6b2f14af2360
children 72c96de7a403
comparison
equal deleted inserted replaced
12855:8f5bd903ba68 12856:cad4cba03f19
53 ## covariance [default] 53 ## covariance [default]
54 ## 54 ##
55 ## @item 1: 55 ## @item 1:
56 ## normalize with @math{N}, this provides the second moment around the mean 56 ## normalize with @math{N}, this provides the second moment around the mean
57 ## @end table 57 ## @end table
58 ## @seealso{corrcoef, cor} 58 ## @seealso{corr}
59 ## @end deftypefn 59 ## @end deftypefn
60 60
61 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> 61 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
62 ## Description: Compute covariances 62 ## Description: Compute covariances
63 63