Matlab code for the sensor feed analysis