A short Matlab implementation for P1 and Q1 finite elements (FE) is provided for the numerical solution of 2d and 3d problems in linear elasticity with mixed boundary conditions. Any adaptation from the simple model examples provided to more complex probl