3 lines
No EOL
48 B
Mathematica
3 lines
No EOL
48 B
Mathematica
function X = sigm(P)
|
|
X = 1./(1+exp(-P));
|
|
end |