about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/foptions.m
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/bnt-master/foptions.m')
-rw-r--r--sourcecodes/bnt-master/foptions.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/foptions.m b/sourcecodes/bnt-master/foptions.m
new file mode 100644
index 00000000..50971ae3
--- /dev/null
+++ b/sourcecodes/bnt-master/foptions.m
@@ -0,0 +1,11 @@
+function opt_vect = foptions()
+% FOPTIONS Sets default parameters for optimisation routines
+% For compatibility with MATLAB's foptions()
+%
+% Copyright (c) Dharmesh Maniyar, Ian T. Nabney (2004)
+  
+opt_vect      = zeros(1, 18);
+opt_vect(2:3) = 1e-4;
+opt_vect(4)   = 1e-6;
+opt_vect(16)  = 1e-8;
+opt_vect(17)  = 0.1;
\ No newline at end of file