I used curve fitting tool in MATLAB. After training i got weights and biases. I used sim(net,inputs) function to test the network. I got correct output, but when i implemented the same network in matlab CODE i am getting wrong results. It might be because of the sigmf() function. I used a=1 and c=0. What are the correct values of 'a' and 'c'?
Thank you in advance.