Files

5 lines
70 B
Matlab

function ret = logistic(input)
ret = 1 ./ (1 + exp(-input));
end