evalfis - Perform fuzzy inference calculations

Syntax

output= evalfis(input,fismat)
output= evalfis(input,fismat, numPts) 
[output, IRR, ORR, ARR]= evalfis(input,fismat) 
[output, IRR, ORR, ARR]= evalfis(input,fismat,
numPts) 

Description

evalfis has the following arguments:

The range labels for evalfis are as follows:

The optional range variables for evalfis are only calculated when the input argument is a row vector, (only one set of inputs is applied). These optional range variables are

When it is invoked with only one range variable, this function computes the output vector, output, of the fuzzy inference system specified by the structure, fismat, for the input value specified by the number or matrix, input.

Examples

fismat = readfis('tipper');
out = evalfis([2 1; 4 9],fismat)

This syntax generates the response

out =
	7.0169
	19.6810

See Also

ruleview, gensurf

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS