Key terms

  • ALGORITHM: a structured code implementing a method to solve a specific problem.

  • FUNCTION: a standalone body of code that performs a specific task. Each function has a unique name. To execute a function, you 'call' it by using its name.

  • MATRIX: the default data type in MATLAB. It is akin to a table or a spreadsheet with rows and columns.

  • SYNTAX: the 'grammar' of a coding language. It outlines a set of rules which enable the computer to understand the code.

  • VARIABLE: a container where you store values/data. These values can be changed according to our needs.

  • VECTOR: a particular type of matrix in MATLAB. This is a list of numbers arranged in either a row or a column.

Last updated