1
0
Fork 0

Compute the sigmoid function

master
neingeist 10 years ago
parent d52fa95328
commit efe94282b4

@ -9,7 +9,7 @@ g = zeros(size(z));
% Instructions: Compute the sigmoid of each value of z (z can be a matrix,
% vector or scalar).
g = 1 ./ (1 + exp(-z));