A Quick Introduction to Matlab

symbol is used to denote an exponent. The period tells Matlab to do this math on every element of x. Without the period Matlab tries to treat the x array as a matrix and do matrix algebra. There’s more on this in M1_Arrays. Plotting: To plot the functions above as y vs x, cut and paste the following to the Command Window one line at a time ... ................
................