Fri 01 Feb 2013 11:01:28 PM UTC, original submission:
This is from version 2.5.5 (current release) of the nan package in octave forge.
This is how to reproduce, with the output that you get:
octave:1> pkg load nan
octave:2> x = [ 1, 2, 3, 4, 4, 6 ]
x =
1 2 3 4 4 6
octave:3> y = [ 1, 2, 4, 5 ]
y =
1 2 4 5
octave:4> [H,PVAL] = ttest2(x, y)
error: `Wx' undefined near line 107 column 34
error: evaluating argument list element number 3
error: called from:
error: /usr/share/octave/packages/nan-2.5.5/ttest2.m at line 107, column 13
octave:4>
Looking in the ttest2.m file, it does appear that, outside of a particular if statement, the Wx variable is not mentioned before this line.
|