www.gusucode.com > Matlab动力系统和时间序列分析工具箱 > Matlab动力系统和时间序列分析工具箱/lab432/toolbox/SSA/ssa_grouping.m
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