EXERCISE 2-1

To see how Matlab plots vectors try the following: >> [U,V] = gradient(Z,0.2); >> hold on >> quiver(X,Y,U,V) Further useful Matlab graphical commands include: figure opens a new figure . clf clears a figure . hold on/off holds a plot, which admits several plotting commands in one figure . colorbar adds a reference bar of colors used in a plot. ................
................