📄 autosc.m
字号:
% function autosc performs autoscaling
% the second input file is scaled on the average and standard deviation of the first one
function[xnorm]=autosc(xtr,xtest)
if nargin==1
x=xtr;
else
x=[xtr;xtest];
end
[o,v]=size(x);
xnorm=(x-ones(o,1)*mean(xtr))./(ones(o,1)*std(xtr));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -