81
82% Sigmoid Symmetric Transfer Function
83function a = tansig_apply(n)
84a = 2 ./ (1 + exp(-2*n)) - 1;
85end