This is a set of Matlab code for FEM analysis of a 1D heat equation. It is developed for education purposes. Students are expected to gain an understanding of the basic data structure and assembly procesure in finite element analysis.
References: Chapter 1 of The Finite Element Method: linear static and dynamic finite element analysis, T.J.R. Hughes.