Functions

Matlab is based on processing arrays. Calculations will be very inefficient to calculate equations if you don’t use the array syntax. Because it’s central to the design of the language, it’s really important to get proficient at manipulating them. A basic one-dimensional vector is created with the syntax . x = startValue:stepSize:endValue; ................
................