gensurf
Generate and plot a surface (or 2-dimensional curve) showing one FIS output as a function of two (or one) of the FIS inputs. The reference input is used for all FIS inputs that are not in the input_axes vector.
Grids, which specifies the number of grids to show on the input axes, may be a scalar or a vector of length 2. If a scalar, then both axes will use the same number of grids. If a vector of length 2, then the grids on the two axes are controlled separately.
Num_points specifies the number of points to use when evaluating the FIS.
The final form "[x, y, z] = gensurf(...)" suppresses plotting.
Default values for arguments not supplied are:
Six demo scripts that use gensurf are:
Current limitation: The form of gensurf that suppresses plotting (the final form above) is not yet implemented.
See also: cubic_approx_demo, heart_disease_demo_1, heart_disease_demo_2, investment_portfolio_demo, linear_tip_demo, mamdani_tip_demo, sugeno_tip_demo, plotmf