With the current Debian Octave package (3.2.4, nan-1.0.9), corrcoef returns an error if called with more than one output argument, e.g.:
x = rand(100, 1); y = rand(100, 1); [R, p] = corrcoef(x, y); error: `FLAG_WARNING' undefined near line 338 column 10 error: evaluating argument list element number 1 error: evaluating argument list element number 1 error: called from: error: /usr/share/octave/packages/3.2/nan-1.0.9/corrcoef.m at line 338, column 2 Uncommenting line 159 of the source file corrcoef.m solves the problem: %FLAG_WARNING = warning; % save warning status --Nir ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev