EEGLAB ببساطة

ERP والمتوسطات

المحطة 6 · الدرس 1 · EEGLAB 2026.1

من الواجهة

  1. PlotChannel ERPsIn scalp/rect. array
  2. Topographic ERP plot - pop_plottopo()Channels to plotPlot single trialsPlot in rect. arrayOk 1:32

السكربت

erp = mean(EEG.data, 3);
fprintf('Averaged %d epochs\n', EEG.trials);
pz = find(strcmp({EEG.chanlocs.labels}, 'Pz'));
figure;
plot(EEG.times, erp(pz, :), 'k', 'LineWidth', 1.5);
xlim([-200 800]); grid on;
xline(0, '--'); yline(0);
xlabel('Time (ms)'); ylabel('Amplitude (\muV)');
title(sprintf('ERP at Pz, %d epochs', EEG.trials));
win = EEG.times >= 250 & EEG.times <= 600;
winTimes = EEG.times(win);
[peakAmp, iPeak] = max(erp(pz, win));
fprintf('Positive peak at Pz: %.1f uV at %.0f ms\n', peakAmp, winTimes(iPeak));
figure; pop_plottopo(EEG, 1:EEG.nbchan, EEG.setname, 0, 'ydir', 1);

أي قيمة أختار؟

الإعدادالقيمة
ما يدخل المتوسطالـ epochs النظيفة من شرط واحد فقط
عدد المحاولاتأكثر ما تستطيع بعد الرفض، ونفس العدد تقريباً لكل شرط
نافذة البحث عن القمةتُحدَّد قبل رؤية البيانات، من الأدبيات

لقسم Methods

ERPs were computed by averaging the [N] artifact-free epochs time-locked to the square stimulus (EEGLAB 2026.1).

النسخة الكاملة: https://simplyeeglab.pages.dev/lesson/erp-average/

رخصة المحتوى: CC BY-NC-SA 4.0 · MIT (code)

موقع تعليمي مستقل، غير تابع رسمياً لـ EEGLAB أو SCCN.