Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

how to define number of neurons in nntool (neural networl tool) in Matlab R.2009.a

Asked by memorial

memorial (view profile)

on 31 Jan 2011

Hi, I am using Matlab R.2009.a to estimate functions. I applied NN tool .Then i encountered a problem in defining the layers. When i import input and target.In the New/Create Network or data I chose 2 number of layers.then in the "properties for Layers" i can select the number of neurons for the first layer,But the box for entering the number of neurons for the second layer is "inactive"!! it doesnt let me choose the number of neurons for the 2nd layer. I tried an older version of Matlab R.2006.a.There, this box for choosing the 2nd layer number of neurons is "active". I was wondering how this important feature of Matlab has been ignored in the newer version? I need many features of the 2009 version,and can not replace the older one. What do you seggest me to do to overcome this problem is Matlab NNtool? Thanks for reading my question Regards,



memorial (view profile)


No products are associated with this question.

1 Answer

Answer by Greg Heath

Greg Heath (view profile)

on 22 Jun 2012

The number of 2nd layer neurons is equal to the dimension of the output training vectors.



Greg Heath

Greg Heath (view profile)

Contact us