Hardlimit activation function
y = ann_hardlim_activ(x)
Input vector
Output vector
This is the hardlimit activation function, in which y = 0 for x < 0 and y = 1 for x >= 0
x = [-1:0.05:1]; y = ann_hardlim_activ(x); plot(x,y,'.');