fem1d_display_test, a MATLAB code which calls fem1d_display(), which reads a prefix defining a trio of files containing the nodes, nodal values, and elements for finite element data, and displays a plot.
The computer code and data files described and made available on this web page are distributed under the MIT license
fem1d_display, a MATLAB code which reads three files defining a 1D arbitrary degree function associated with the finite element method (FEM), and displays a plot.
SIN0 is a degree 0 finite element model for SIN(PI*X) on [0,3].
SIN1 is a degree 1 finite element model for SIN(PI*X) on [0,3].
SIN2 is a degree 2 finite element model for SIN(PI*X) on [0,3].
SIN4 is a degree 4 finite element model for SIN(PI*X) on [0,3].
SIN8 is a degree 8 finite element model for SIN(PI*X) on [0,3].