Question
I want a Multi-layer Perceptron neural network by neural network toolkit. but I cannot make 2 hidden layers (just 1 layer available). How can I make 2 hidden layers in neural network toolkit?
Expert Answer
Neeta Dsouza
PhD Expert
Answered Aug 25, 2026
Regression/Curvefitting
net = fitnet([H1,H2]);
Classification/Pattern-Recognition
net = patternnet([H1,H2]);
Time Series
net = narxnet( ID, FD, [ H1, H2]);
timedelaynet and narnet are special cases obtained from
FD = [] and ID = [], respectively.
Hope this helps.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related blp. neural network Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →