diff options
Diffstat (limited to 'macros/sigmoid_train.sci')
-rw-r--r-- | macros/sigmoid_train.sci | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/sigmoid_train.sci b/macros/sigmoid_train.sci new file mode 100644 index 0000000..bba751d --- /dev/null +++ b/macros/sigmoid_train.sci @@ -0,0 +1,12 @@ +function y =sigmoid_train(t, ranges, rc) +funcprot(0); +rhs=argn(2); +if (rhs<3 | rhs>3) then + error("Wrong number of input arguments"); +end + +select(rhs) +case 3 then + y=callOctave("sigmoid_train", t, ranges, rc) +end +endfunction |