MATLAB: How to add more than one hidden layer

Deep Learning Toolboximage processingMATLABneural networks

I need to use feedforwardnet to classify the images and also have train the NN in 3 levels.
Is it possible to add 3 hidden layers to feedforwardnet?

Best Answer

Yes, it is possible to create a "feedforward neural network" with three hidden layers using the "feedforwardnet" function. This can be achieved by passing a vector of hidden layer sizes as the argument to the "feedforwardnet" function.
>> net=feedforwardnet([10 11 12]);
>> view(net);