Note from Dec 2022: The code here work beautifully and I plan to continue making minor bug fixes maintaining the current functionality. But I no longer will be making any improvements to this project.
Remarks around 50 lines of Matlab: short finite element implementation by Jochen Alberty and Carsten Carstensen.pdf Saddle point problems, iterative solution and preconditioning a short overview.pdf ...
Use MATLAB to simulate and analyze motion and force/compliance performance of a manipulator for the required task. Articulate the design, modelling, analysis and simulation of robot manipulators ...