%% Evaluate FIS for Multiple Input Combinations
%
% Load FIS.

fis = readfis('tipper');

%
% Specify the input combinations to evaluate using an array with one row per input combination.

input = [2 1;
         4 5;
         7 8];

%
% Evaluate the FIS for the specified input combinations.

output = evalfis(fis,input)

%
% Each row of output is the defuzzified output value for the corresponding row of input.