...are the outputs not within -1 and 1 when i apply tansig as...
Open in MATLAB Online Hi JUN HANG, Whatever the input to the "tansig" function, output should be in the range [-1,1]. Because the equation of the "tansig" is : tansig(x) = (2/(1+exp(-2*x)))-1; I suggest you to ...