MATLAB codes for FEM homework-1