From 3f916032cc0b2efdeafb838dd10e1141ead2cb27 Mon Sep 17 00:00:00 2001 From: bgtushar Date: Thu, 9 Nov 2017 20:51:40 +0530 Subject: cceps, fht, idct1, idct2, idst1, sigmoid, xcov1 --- macros/sigmoid_train.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 macros/sigmoid_train.sci (limited to 'macros/sigmoid_train.sci') 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 -- cgit