eeg data to move a motor
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Gabriel Enzo
le 22 Juin 2022
Commenté : Gabriel Enzo
le 24 Juin 2022
hello, i want to ask about how to move the motor in wheelchair with eeg data that i processed in matlab, please help because it's quite stuck, maybe i will use arduino or matlab directly
4 commentaires
Walter Roberson
le 22 Juin 2022
ANN? As in Artificial Neural Network?
So how is this going to work? You are going to record fixed length multiband segments of the user thinking some particular thought at some point during the segment, and you are going to create a list of what class (forward, back, left, right, stop, other) the recording represents, and you are going to train the neural network against that raw multiband data? With no filtering or feature extraction or pca or attempt to locate the beginning of the action in the signal?
Réponse acceptée
Walter Roberson
le 23 Juin 2022
Create a numeric array in which each row is a different (fixed-length) eeg sample, and in which you have another variable which indicates which class number each row is associated with.
Then at the command line command
nprtool
and use the tool to design an ANN for classification purposes.
7 commentaires
Walter Roberson
le 24 Juin 2022
Your sample code
[vec,ts] = inlet.pull_sample();
% and display it
fprintf('%.2f\t',vec);
fprintf('%.5f\n',ts);
is something that I recognize from some documentation I pointed you to the other day.
Notice that the values obtained are being returned as floating point in both cases -- vec is displayed with two decimal places and ts is displayed with 5 decimal places.
None of what is returned by pull_sample() has character strings.
Either there is a different way to read that kind of data, or else pull_sample is already parsing the character stream to extract values as numeric.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur EEG/MEG/ECoG dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!