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

📄 gaussradialbasisfunction.m

📁 一个基于K均值聚类的RBF神经网络
💻 M
字号:
function output=GaussRadialBasisFunction(input,center,r)
%This function is designed to get the value of Gauss function
%input              the input of the node
%center             the center of the node
%r                  neighborhood radius
%
%
%edit by bruce, Oct 19, 2006
%
%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[inputrow inputcol]=size(input);
[centerrow centercol]=size(center);
if (inputrow~=centerrow | inputcol~=centercol)
    error('the dimensions of the parameters are different!');
end % this end for inputrow~=centerrow | inputcol~=centercol
output=exp(-norm(input-center)^2/r^2);

⌨️ 快捷键说明

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