⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rbf_db.m

📁 基于MATLAB完成的神经网络源程序,可以利用该程序完成有关神经网络的应用。
💻 M
字号:
function rbf_db(w, t, sigma, st_sz)% w     - weights% t     - centers% sigma - center spread% st_sz - step size to be used in grid for decision boundary%% plot decision boundary for the two class problemx=-4:st_sz:4;   y=-3:st_sz:3;c=0; Z=[];for i=1:length(x),  for j=1:length(y),   c=c+1;   Z(c,1:2)=[x(i) y(j)];  endendgridout = rbf_test(w,Z,t,sigma);Y = logical(gridout(:,2) > gridout(:,1));H = reshape(Y,length(y),length(x));contour(x,y,H,1)gridpl_circ([-2/3 0], 2.34, .01, 0);title('Decision Boundary')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -