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 ?
Show older comments
% 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
Walter Roberson
on 2 Dec 2023
Time to use the debugger to examine what class(ca) and class(cd) are.
Walter Roberson
on 2 Dec 2023
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.
Komal
on 2 Dec 2023
Walter Roberson
on 2 Dec 2023
Okay, and when that code stopped, what showed up when you did
whos ca
Komal
on 3 Dec 2023
Walter Roberson
on 4 Dec 2023
Sorry, I do not know anything about CSP method.
Komal
on 4 Dec 2023
Moved: Walter Roberson
on 4 Dec 2023
Answers (0)
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!