ssa_grouping.m

来自「主成分分析和偏最小二乘SquaresPrincipal成分分析( PCA )和偏」· M 代码 · 共 16 行

M
16
字号
function SSA = ssa_grouping(SSA,groups)
% SSA_GROUPING grouping elementary vectors in the sets 
% groups should have following structure: { group_1  group_2  ...}
%   where group_* - elementary vectors numbers which form the group
% example: ssa_grouping(SSA,{[1 2 3 4] [5 6] [10]});
%
% last modified 11.02.05

if nargin>1
    SSA.groups=groups;
else
    error('Not enought input parameters');
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?