Question
I do not have access to the Matlab Neural Network toolbox at this time. What are the default parameters of net.trainParam and net.trainFcn if you create a network by the newff.m function, say, net = newff(feature_vector, output_vector, num_hidden_nodes), and if you train the output network with the train.m function, i.e. [net, tr, Y, E, Pf, Af] = train(net, feature_vector, output_vector)?
Expert Answer
John Williams
PhD Expert
Answered Sep 12, 2026
[inputs,targets] = simplefit_dataset; whos net = newff(inputs,targets,5) % Name Size Bytes Class Attributes % inputs 1x94 752 double % targets 1x94 752 double trainFcn = net.trainFcn % 'trainlm' (Levenberg-Marquardt) mingrad = net. trainParam.min_grad % 1e-5 mu = net.trainparam.mu % 1e-3 mudec = net. trainParam.mu_dec % 0.1 muinc = net.trainparam.mu_inc % 10 mumax = net.trainParam. .mu_max % 1e10
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 tool Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →