Function in matlab script. Here is an example of a function in a MATLAB script file with numer...