This example contains MATLAB code and data to complement the LEA approach, as described in Severin et al. 2022. The code has been tested on MATLAB version R2020b. To run the code, open in MATLAB the file "Lea_Example_Script.m". Please make sure that MATLAB 'sees' the "Lea_Example_Data.mat" in its path, e.g. by making the containing folder the working directory of MATLAB. Yannik Severin & Berend Snijder, 2022