Fast FEM assembly: nodal elements

version (813 KB) by Jan Valdman
Vectorized assembly of FEM matrices.


Updated 4 Aug 2018

View License

This code demonstrates vectorization concepts from the paper:

Talal Rahman and Jan Valdman: Fast MATLAB assembly of FEM matrices in 2D and 3D: nodal elements, Applied Mathematics and Computation 219, 7151–7158 (2013).

A link to the paper can be found at the author web page located at

Please cite the paper if you find the code useful.

Available scripts from the paper:






Additional script (provided by Tien Dat Ngo from EFPL Lausanne):


Cite As

Jan Valdman (2022). Fast FEM assembly: nodal elements (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!