MATLAB: Using the Neural Network toolbox, why do I get more solutions than I should be getting

fitting toolneural network

I created a neural network using the fitting tool. Inputs were 98×2 whereas Outputs were 98×1. After the network called "net" was created, I tried to simulate it using the command (y1=sim(net,[numbers looking outputs for])). Normally, I should be getting 1 answer for the two input values that I chose. However, for some reason I am getting as many answers as inputs. Any idea what might be causing that?
Thank you

Best Answer

  • Transpose your data matrices
    [ I N ] = size(Input)
    [ O N ] = size(Output)
    Thank you for formally accepting my answer