% asig.m
%
% activation function for hopfield network
%
% created by:
%       Steven E. Lamberson, Jr.
%
% created on:
%       October 08, 2004

function x = asig(u,lambda)

x = 2/pi*atan(lambda*pi/2*u);