Question
hello i want to ask if it is possible to create a neural network in mat lab that is able to have at least 4 states which gets activated randomly based on what input we may give.Suppose I have states A,B,C and D. And suppose If as input i am giving images sequentially some states gets activated randomly based on what type of image input it is or even handwriting input.
Expert Answer
John Williams
PhD Expert
Answered Sep 12, 2026
In that case you should use Gaussian hidden nodes
help radbas doc radbas
so that one or more will recognize only a particular type of input. Clustering the data beforehand to define the Gaussians will help.
Then after you have determined the feature recognition layer, train a linear layer from the outputs that will yield the final answer.
Learning is not as effortless as using fitnet or patternnet. However, see if you can use NEWRB, NEWRBE or NEWGRNN.
I have spent many years designing these types of nets for the military. Unfortunately I was not able to take any of my work when I retired. So...
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 neural network Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →