sigmoid function
March 22, 2015 Leave a comment
What is a sigmoid function ?
It is http://mathworld.wolfram.com/SigmoidFunction.html
This simple code is the standard way to plot it. I am using Octave.
x = -10:0.1:10; a = 1.0 ./ (1.0 + exp(-x)); figure; plot(x,a,'-','linewidth',3)