Plotting EEG 36 channel data using code

조회 수: 1 (최근 30일)
Aksharkumar Dobariya
Aksharkumar Dobariya 2020년 2월 8일
답변: Ajay Pattassery 2020년 2월 11일
I have 296500*36 data in matlab for EEG signal. I want to plot it and then do the Power Spectral density using welch for 30 second windows. Sampling frequency is 250 Hz. I would appreciate it if someone can help. Thank you.

답변 (1개)

Ajay Pattassery
Ajay Pattassery 2020년 2월 11일
You can use pwelch for finding the power spectral density of the signal.
For example,
pwelch(x,250*30, [],[],250);
where x is the input signal, 250*30 is the window length and 250 is the sampling frequency.
Refer the following link for more details about pwelch.

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by