No BSD License  

Highlights from
Neural Networks: A Comprehensive Foundation, 2e book Companion Software

Neural Networks: A Comprehensive Foundation, 2e book Companion Software

by

 

12 Nov 2004 (Updated )

Companion Software for Neural Networks: A Comprehensive Foundation, 2e book

B=sgn(A)
function B=sgn(A)

% function B=sgn(A)
%
%  This is the straight sgn function to be used in the HopFiled test
%  experiments.
%
% Hugh Pasika 1997

B = (A(:,:)>0) + (A(:,:)<0)*(-1);

Contact us