MATLAB for Primary and Secondary Schools

For: Ages 12+

Learn to Code is an online, interactive tutorial that teaches the basics of programming using MATLAB.

In the tutorial, students will solve the problem of finding the closest meet-up location on a map by creating an algorithm. They'll learn how to work with variables, functions, and vectors.

No prior programming experience is necessary. Just some knowledge of basic math.

Estimated Time: One hour

For more comprehensive MATLAB and Simulink tutorials, including our FREE introductory Onramp courses, visit MATLAB Courses.

"Now I know what is needed for coding and it is pretty cool and fun!"

Daisy, Student, Age 16

"The problem to solve was very relatable. I now know the math behind a GPS."

Mercy , Student, Age 14

"The students were locked in, picking through the problems and seemed intrigued by them."

William Brown, Teacher, Cristo Rey Boston High School