Code files to the Matlab project (M1)