Highlighting the new aspects of MATLAB(R) 7.10 and expanding on many existing features, MATLAB(R) Primer, Eighth Edition shows you how to solve problems in science, engineering, and mathematics. Now in its eighth edition, this popular primer continu
%记录每次权值调整后的训练误差 ErrHistory=[ErrHistory SSE]; if SSE<E0,break,end for i=1:UnitNum CentGrad=(SamIn-repmat(Center(:,i),1,SamNum))*(Error.*UnitOut(i,:)*W(i)/SP(i)^2)'; SPGrad=AllDist(i,:).^2*(Error.*UnitOut(i,:)*W(i)/(SP(i)^3))'; WGrad=Error*UnitOut(
原创Matlab产生三角波的函数任意循环-tri_wave.m 自己写的三角波函数,可以方便调用。 参数接口: function y=tri_wave starting_value:三角波起始值 ending_value:三角波终点值 sub_interval:三角波区间 num_of_cycles:三角波个数 y:输出的三角波 测试: y=tri_wave plot Matlab_32.jpg ============== function y=tri_wave web -browser h