Professional Documents
Culture Documents
fis e depois ler os dados no evalfis eu ja fiz isso c imagem deve ser ate mais facil c perfil no caso suas variaveis de entrada serao os perfis de porosidfade
evalfis
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
input: a number or a matrix specifying input values. If input is an M-by-N matrix, where N is number of input variables, then evalfis takes each row of input as an input vector and returns the M-by-L matrix to the variable, output, where each row is an output vector and L is the number of output variables.
numPts: an optional argument that represents the number of sample points on which to evaluate the membership functions over the input or output range. If this argument is not used, the default value of 101 points is used.
output: the output matrix of size M-by-L, where M represents the number of input values specified previously, and L is the number of output variables for the FIS.
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
IRR: the result of evaluating the input values through the membership functions. This matrix is of the size numRules-by-N, where numRules is the number of rules, and N is the number of input variables.
ORR: the result of evaluating the output values through the membership functions. This matrix is of the size numPts-by-numRules*L, where numRules is the number of rules, and L is the number of outputs. The first numRules columns of this matrix correspond to the first output, the next numRules columns of this matrix correspond to the second output, and so forth.
ARR: the numPts-by-L matrix of the aggregate values sampled at numPts along the output range for each output.
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
See Also