?? unnomal.m
字號:
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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -