standm.m
来自「用VC++编写的遗传算法源程序」· M 代码 · 共 18 行
M
18 行
function stdm=standm(x)
%
% STANDM
%
% Returns the standardised matrix of x
% i.e. all columns will be scaled to have unit variance
%
% Called: stdm=standm(x)
%
% Calls: standvec(x)
%
[nrows,ncols]=size(x);
for i=1:ncols
stdm(:,i)=standvec(x(:,i));
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?