MATLAB Preliminaries
Besides small programs, MATLAB also supports functions that receive external data and produce numerical output that we may use later.
A simple example: A function that computes the distance between two points. Input are x1,y1,z1 and x2,y2,z2. Output: D