필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Komal
Komal 2023년 11월 28일
편집: Komal 2023년 11월 28일
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