You can download the code used in this tutorial Members Only section of the website.
This tutorial provides a brief introduction to Matlab for people that don't have any current experience with the software. When you're done learning some of these basics, check out Matlab Cody. The Matlab Cody website has numerous coding problems for you to work and submit. After submitting your code it is "scored" against other submissions for correctness, code efficiency, etc. The website keeps track of how many challenge problems you've solved and ranks you with respect to other coders. It's a great way to practice and learn other basic Matlab concepts.