From: An-Lei wei on
shamim <shamim(a)ou.edu> wrote in message <ef02fb0.-1(a)webx.raydaftYaTP>...
> I'm using the anfis editor (anfisedit) to build a fuzzy logic system.
> Here are the specifications:
>
> name: 'My_Fuzzy'
> type: 'sugeno'
> andMethod: 'prod'
> orMethod: 'probor'
> defuzzMethod: 'wtaver'
> impMethod: 'prod'
> aggMethod: 'sum'
> input: [1x4 struct]
> output: [1x1 struct]
> rule: [1x3 struct]
> trndata: [207x5 double]
>
> The input dimension is 4 and the output dimension is 1.
> The training data is consist of 207 vectors of length 5:
> [param1 param2 param3 param4 output]
>
> All the outputs are zero except one of them which is one.
>
> When I try to use the 'TRAIN FIS' to find the right membership
> function parameters I get the following error:
> --------------------------------
> Start training ANFIS ...
>
> ??? Error using ==> anfisedit
> Total of firing strength is zero!
> ---------------------------------
>
> Any ideas? What does this error message mean?
>
> Thanks,
> +Shamim


The reason is that the input dimension of checking data disagreed with the input dimension of traning data. For example , maybe you have four inputs in your traning data, however, you set five inputs in your checking data.

Try it again according to the above. Good luck!