Thanks for the reply Greg, but i still couldnt find why it gives the same number as output when i calculate it by using weights and bias. At first i thought it is cus of mapmin function, but i used an input and target set between [-1, 1], but still get the same result. What else can u suggest me?Thanks