matalab神经网络工具箱中的newff.m完整的程序结构是什么样子的?

来源:百度知道 编辑:UC知道 时间:2024/07/01 06:01:44
谢谢回答

function net = newff(pr,s,tf,btf,blf,pf)
%NEWFF Create a feed-forward backpropagation network.
%
% Syntax
%
% net = newff
% net = newff(PR,[S1 S2...SNl],{TF1 TF2...TFNl},BTF,BLF,PF)
%
% Description
%
% NET = NEWFF creates a new network with a dialog box.
%
% NEWFF(PR,[S1 S2...SNl],{TF1 TF2...TFNl},BTF,BLF,PF) takes,
% PR - Rx2 matrix of min and max values for R input elements.
% Si - Size of ith layer, for Nl layers.
% TFi - Transfer function of ith layer, default = 'tansig'.
% BTF - Backprop network training function, default = 'trainlm'.
% BLF - Backprop weight/bias learning function, default = 'learngdm'.
% PF - Performance function, default = 'mse'.
% and returns an N layer feed-forward backprop network.
%
% The transfer functions TFi can be any differentiable transfer
% function such