File Exchange

image thumbnail


version (21.3 KB) by Luca Citi
Algorithm for the analysis of electrodermal activity (EDA) using convex optimization


Updated 16 Feb 2017

From GitHub

View license on GitHub

This program implements the cvxEDA algorithm for the analysis of electrodermal activity (EDA) using methods of convex optimization, described in:
A Greco, G Valenza, A Lanata, EP Scilingo, and L Citi
"cvxEDA: a Convex Optimization Approach to Electrodermal Activity Processing"
IEEE Transactions on Biomedical Engineering, 2015
DOI: 10.1109/TBME.2015.2474131

It is based on a model which describes EDA as the sum of three terms: the phasic component, the tonic component, and an additive white Gaussian noise term incorporating model prediction errors as well as measurement errors and artifacts.
This model is physiologically inspired and fully explains EDA through a rigorous methodology based on Bayesian statistics, mathematical convex optimization and sparsity.

Cite As

Luca Citi (2021). cvxEDA (, GitHub. Retrieved .

Comments and Ratings (2)

how to add my samples in this code?

Hany Ferdinando

Helpful matlab function to explore and analyze EDA signal. I tried to use it on my samples, so far so good until I got negative value for tonic part. I have no experience working with EDA signal but I think it is impossible. Would you explain me this phenomenon? Thank you.

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!