Clear Filters
Clear Filters

Matlab file to analyse galvanic skin response not working properly

10 views (last 30 days)
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

Accepted Answer

Star Strider
Star Strider on 16 Apr 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.
.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!