Matlab4Animation facilitates the creation of animated videos in mathematics, calculus and numerical methods.
We encourage professors and students to prepare animated math videos for use inside and outside the classroom, with the goal of improving teaching quality and innovation.
Go to the Gitlab page to clone or download the latest version of the library. Running the code requires a Matlab License.
The tool is under continuous development, so there might be some bugs that will be fixed over time.
Please acknowledge the library in your videos!
The library is intended to be an easy-to-use tool for simple, good-looking animations. No loops, no time counters, no object-oriented code, just intuitive syntax. An ideal tool for teachers and students.
The goal of the library is not to provide perfect, professional, or fully-customizable animations, but rather to offer a simple interface to intuitively obtain great animations. Those looking for professional results might check other popular alternatives, including Manim.
We provide advice on how to use the library
Let us know if you detect any issues with the code
Contact us if you wish to contribute to the library by implementing new features
We would like to promote the videos you make!
For any inquiry, please contact caminsmath@upc.edu
The library is currently used in the CaminsMath Project at Escola de Camins, to improve teaching quality and innovation through the generation of didactic audiovisual content for classroom and YouTube. Check it out!
Funding projects:
2026: CaminsMath: Audiovisual Content for Mathematics Education, Barcelona Institute of Education Sciences, Universitat Politècnica de Catalunya-BarcelonaTECH
2026: CaminsMath: Audiovisual Content for Mathematics Education, Barcelona School of Civil Engineering, Universitat Politècnica de Catalunya-BarcelonaTECH
2025: Matlab2Youtube: Creation of Educational Audiovisual Content in Mathematics Using Computational Software, Barcelona School of Civil Engineering, Universitat Politècnica de Catalunya-BarcelonaTECH
Logo designed with the help of Núria Girbau Xalabarder.