How to fix this problem in the EMD method for artifact removing from contaminated EEG signal?

1 Ansicht (letzte 30 Tage)
[IMF, residual, info] = emd(eeg_signal);
imf_count = max(info.NumIMF); ///In here, problem have arisen.
figure;
for i=1:imf_count
subplot(6,2,i)
plot(IMF(:,i))
title("IMF"+i);
end
subplot(6,2,imf_count+1)
plot(residual)
title("Residue");
problem:
Dot indexing is not supported for variables of this type.
imf_count = max(info.NumIMF);
  1 Kommentar
Taylor
Taylor am 30 Nov. 2023
What does "class(info)" return? "info" should be a structure (based on the documentation for "emd"), but the error message implies that it is not.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu EEG/MEG/ECoG finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by