use of top() function creates problems in octave
Hello, I recently installed the version 0.36 of ITE, and when I try running the following sample code:
Y1 = randn(3,2000); Y2 = randn(3,3000); mult = 1; co = DRenyi_kNN_k_initialization(mult); D = DRenyi_kNN_k_estimation(Y1,Y2,co);
I get the following error in the last line:
error: `top' undefined near line 10 column 11 error: called from: error: /Users/andres/Research/NHANES/Statistics/ITE/ITE-0.36_code/code/shared/embedded/knn/knn.m at line 10, column 9 error: /Users/andres/Research/NHANES/Statistics/ITE/ITE-0.36_code/code/H_I_D_A_C/utilities/kNN_squared_distances.m at line 28, column 30 error: /Users/andres/Research/NHANES/Statistics/ITE/ITE-0.36_code/code/H_I_D_A_C/utilities/estimate_Dtemp1.m at line 24, column 21 error: /Users/andres/Research/NHANES/Statistics/ITE/ITE-0.36_code/code/H_I_D_A_C/base_estimators/DRenyi_kNN_k_estimation.m at line 35, column 8
It appears that the function top() is not recognized by octave. I tested it on octave 3.6.2 on Linux Ubuntu 12.10 and 3.4.0 on OSX 10.8.3.