Autoregressive model for EEG feature extaction

10 views (last 30 days)
Anyone know where to get the code or function for Autoregressive from matlab or EEGlab?
  3 Comments
Chua  Zhong sheng
Chua Zhong sheng on 3 Jan 2022
Hi, thanks for the reply. Im quite new to matlab. Not really sure how to integrate my dataset to the autoregressive model. Was thinking if there is any tutorial on how to input my dataset to the model
Adam Danz
Adam Danz on 3 Jan 2022
Edited: Adam Danz on 3 Jan 2022
I've never used EEGlab. Perhaps their website offers a tutorial or documentation.
A nice tutorial to get stared with Matlab is the on-ramp.

Sign in to comment.

Answers (1)

Dave B
Dave B on 3 Jan 2022
Edited: Dave B on 3 Jan 2022
ARfit is a collection of tools for AR models: https://www.mathworks.com/matlabcentral/fileexchange/174-arfit
SIFT is a set of EEGLab plugins and includes ARfit: https://github.com/sccn/sift (this is probably what you want)
You might also check out https://github.com/sccn/ARfitStudio which uses ARfit for cleaning noise using AR.
  2 Comments
Chua  Zhong sheng
Chua Zhong sheng on 5 Jan 2022
Hi, thanks for the reply. Im trying to use ARfit studio for my EEG. But i keep getting errors as shown in the picture. Is it due to my file(.set file)?. is there anyway to resolve it?
Dave B
Dave B on 5 Jan 2022
I don't know ARfitStudio very well (or EEGlab for that matter), but I think the key line in your stack of errors is the one about:
set(hObject, 'String', unique({EEG.event.type}));
ARfitStudio is looking for a string in EEG.event.type, but it's not finding one. Could it be that there's somewhere that you've left an event type undefined? Failing that you might reach out to one of the contributors to ARfitStudio...

Sign in to comment.

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!