Matlab Tutorial - University of Calgary in Alberta

Matlab has many options for displaying data in two and three dimensional graphics. The function that will be used most often is 'plot'. The command 'plot(X,Y)' will plot the elements of Y versus the corresponding element of X. X and Y must be of the same length. 'plot(X)' will plot X versus the element indices. If X is a matrix, each row is ... ................
................