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 Comments

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});
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.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2019a

Asked:

on 2 Dec 2023

Moved:

on 4 Dec 2023

Community Treasure Hunt

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

Start Hunting!