Set Values...

This command is in the Matrix menu. It allows to fill in a matrix with the results of a function z=f(i,j) in which i and j are the row and column numbers.

Even if you have defined X-values and Y-values with the Set Dimensions... command command, you must use i and j as parameters for the function. In the example below, X and Y ranges have been defined as 101 values ( i and j from 1 to 101) between -5 and +5. Therefore, the function uses as entries the parameters x=(j-1)/100-5 and y=(i-1)/100-5.

The functions can be written on several lines, and the intrinsic functions which are available are listed in the appendix .

Figure 5-49. The Set Values... dialog for matrix.