Matlab only
Extracted text: The bsir MATI.AR griohing procedure, for example in 2D, is to take a vector of r- coordinates, x = (r1,....IN), and a vector of y-coordinates, y = (y1.... yN), locate the points (r, y.), with i = 1,2, ..,n and then join them by straight lines. You need to prepare r and y in an identical array form; namely, r and y are both row arrays or column arrays of the same length. The MATLAB command to plot a graph is plot(x,y). The vectors x = (1,2,3, 4, 5, 6) and y = (3, -1, 2, 4,5, 1) produce the picture shown in Figure 2.1. » x = [1 2 3 45 61; > y = [3 -1 2 45 11; » plot (x,y)