RBF MATLAB算法程序clear all; close all;
X=[0:0.2:6];T=1.1*(1-X+2*X.*X).*exp(-0.5*X.*X);
lr=0.05;
[M,N]=size(X);
err_goal=0.001;
max_epoch=1000;
Oj=0;Ok=0;
q=10;
u=rand(q,1);h=rand(q,1);
w=rand(q,1);
b1=ones(q,1);b2=ones(1,N);
counts=1;E=zeros(1,max_epoch);
for s=1:max_epoch
Es=0;