How can I solve this problem in the CSP feature extraction algorithm for EEG signal?

2 次查看(过去 30 天)
Dataset description:
Code:
% Calculate the covariance matrices for each class
cov_matrices = cell(1, 2);
disp(unique(labels));
disp(size(epochs));
for i = 1:2
if any(labels == i)
class_epochs = epochs(:, :, labels == i);
cov_matrices{i} = cov(class_epochs');
else
disp(['No data for class ', num2str(i)]);
end
end
Error:

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 EEG/MEG/ECoG 的更多信息

产品


版本

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by