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