demo_tca2.m

来自「The tca package is a Matlab program that」· M 代码 · 共 16 行

M
16
字号
% demo script for TCA - 2
% clusters - IID signals
% in case of any bugs or errors, please contact fbach@cs.berkeley.edu

dir=cd;
addpath([dir '/utilities']);
addpath([dir '/contrasts']);
addpath([dir '/optimization']);

load demo_tca2
fprintf('demo script for TCA with clusters - should run in less than 2 minutes\n');
[W,clusters]=cluster_tca(x);
fprintf('estimated clusters (should be two clusters of size two)\n')
for i=1:length(clusters)
clusters{i}
end

⌨️ 快捷键说明

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