Dot and Brace indexing is not supported for variables of this type in the Lifting wavelet transform artifact removal method .How can I solve this problem ?

% Plot the approximation coefficients at each level
for i = 1:level
subplot(level+1, 1, i+1);
plot(ca{i});
title(['Approximation Coefficients at Level ' num2str(i)]);
end
% Plot the detail coefficients at each level
for i = 1:level
figure;
subplot(level, 1, i);
plot(cd{i});
title(['Detail Coefficients at Level ' num2str(i)]);
end

댓글 수: 8

Time to use the debugger to examine what class(ca) and class(cd) are.
ca and cd are cell arrays and its class type double.
dbstop if error
Run until the code stops. When it does, show us which line the problem is occuring on, and show us class() of every variable mentioned on that line.
Brace indexing is not supported for variables of this type.
Error in lwt_artifactremoval (line 71)
plot(ca{i});
71 plot(ca{i});
Okay, and when that code stopped, what showed up when you did
whos ca
Dear expert,
Can you help me in the eeg signal featutre extraction by using CSP method? I am extracting feature but don't understand about the features. Please response my request then I sent you my code with all dditional files.
Thank you.
Sorry, I do not know anything about CSP method.
Ok.Thanks for your response.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2023년 12월 2일

이동:

2023년 12월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by