unnomal.m
来自「一个基于K均值聚类的RBF神经网络」· M 代码 · 共 21 行
M
21 行
function output=unnomal(input,reference,strength)
%this function is designed for un-normalizing the data set.
%input the data which will be un-normalized.
%reference the reference of unnormalizing
%strength the desired max of the data
%if there is only one argument, the strength is equal to 1.
%
%
%
%
%edit by bruce, June 8, 2006
%
%%%%%%%%%%%%%%%%%%%%%%%%
if nargin<3
strength=1;
end
if nargin<2
error('missing a argument');
end
output=mean(reference)+(max(reference)-min(reference))*input/strength;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?