Effacer les filtres
Effacer les filtres

Matlab file to analyse galvanic skin response not working properly

10 vues (au cours des 30 derniers jours)
Ana Campos
Ana Campos le 16 Avr 2023
Commenté : Star Strider le 16 Avr 2023
Hi,
I am trying to use the EDA related code from the above folder to analyse galvanic skin response.
As an example, I have got the following data (both TIME and EDA are columns with the same size - 2905 rows. All cells have numbers):
When I run the script, the code opens the GUI shown next but because it presents the below errors, I can't finish the analysis:
I've opened uigetlimit.m (contained in the folder indicated at the top of this message) but can't figure out what the problem is.
Can anyone please help?
Thanks in advance

Réponse acceptée

Star Strider
Star Strider le 16 Avr 2023
I suspect that there are actually more than 2905 rows in one of the variables (columns), although we do not have the data to verify that. One way would be to determine the result of:
Sz = size(table_ash)
Perhaps the easiest way to resolve it would be:
rowlim = 1:2905;
TIME = table_ash{rowlim,1};
EDA = table_ash{rowlim,2};
The curly bracket {} addressing eliminates the need for the table2array call.
There is really not enough information provided, so if this does not solve the problem, I will delete my Answer.
.
  2 commentaires
Ana Campos
Ana Campos le 16 Avr 2023
Thanks very much!
Star Strider
Star Strider le 16 Avr 2023
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by