top of page

MATLAB TUTORIALS AND RESOURCES

Video Tutorials (rough drafts made in Spring 2018):

​

  • Tutorial 1https://youtu.be/po8-oMZKGwA

    • MATLAB Programming environment, command window operations, defining variables, constructing vectors and matrices​
       

  • Tutorial 2https://youtu.be/b-Ah5ij8BPA

    • MATLAB scripting, writing scripts, calling scripts in other scripts, plotting, introduce a for loop.​
       

  • Tutorial 3https://youtu.be/UDvocnVTWyM

    • Practicing MATLAB scripting, comparing for-loops and while-loops​

MATLAB Programming Notes (last updated Fall 2022)​

​

  • Arrays<click-for-pdf>

    • How to create arrays as well as extract data and manipulate them.

  • Plotting<click-for-pdf>

    • Basics of how to plot data in MATLAB, including plotting aesthestic

  • For-loops<click-for-pdf>

    • What is a for-loop, how to use them, and a few examples (e.g., computing sums, iterating a sequence, and evaluating a polynomial)

  • If-Statements: <click-for-pdf>
    • What are logical statements and boolean expressions with a few examples (e.g., determine if a number is odd or even, evaluating a piecewise function, and rolling a fair or unfair die)​​
  • While loops: <click-for-pdf>​
    • ​What is a while loop, while loops vs. for loops, and a few examples using while loops (e.g., writing the same task with a while-loop and for-loop​, computing partial sums of the Harmonic Series, using 'flag' variables)
bottom of page