MATLAB: Using fitnet in matlab

hidden layersneurons

If I were to create a neural network based on script using fitnet as shown in (<http://www.mathworks.com/help/nnet/gs/fit-data-with-a-neural-network.html)>, does this mean when i use hiddenLayerSize = 1; net = fitnet(hiddenLayerSize), there is only one hidden layer with only one neurons ?

Best Answer

yes
hope this helps.
greg