My private matlab code for data analysis