Diff of /sigmoid.m [000000] .. [0e6e15]

Switch to side-by-side view

--- a
+++ b/sigmoid.m
@@ -0,0 +1,8 @@
+function g = sigmoid(z)
+%SIGMOID Compute sigmoid functoon
+%   J = SIGMOID(z) computes the sigmoid of z.
+
+g = 1 ./ (1 + exp(-z));
+
+
+end