view test/octave.test/stats/corrcoef-1.m @ 2759:99dd10f4eaaf

[project @ 1997-02-27 08:59:55 by jwe]
author jwe
date Thu, 27 Feb 1997 09:02:09 +0000
parents a88dc0f2200f
children
line wrap: on
line source

x = rand (10);
cc1 = corrcoef (x);
cc2 = corrcoef (x, x);
(size (cc1) == [10, 10] && size (cc2) == [10, 10]
 && abs (cc1 - cc2) < sqrt (eps))