A Quick Introduction to Matlab

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. plot(x,y) plot(x,y2,x,y3) % plot two functions at once ................
................