📄 normalize.m
字号:
function output=normalize(input,strength)
%this function is designed for normalizing the data set.
%input the data which will be normalized.
%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<2
strength=1;
end
output=(input-mean(input))*strength/(max(input)-min(input));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -