Error in Evalfis

2 views (last 30 days)
matlab_image
matlab_image on 2 Jun 2012
Edited: Gabriel Terra on 26 Oct 2020
??? Error using ==> evalfismex Illegal parameters in fisGaussianMF() --> sigma = 0
Error in ==> evalfis at 84 [output,IRR,ORR,ARR] = evalfismex(input, fis, numofpoints);
Error in ==> myfuzz1 at 28 z(i,j)=evalfis([p1 p2 p3 p4 p5 p6 p7 p8 p9],t);
can anybody tell what is the meaning of this error and how can i solve it
  2 Comments
mr mo
mr mo on 7 Jul 2019
I would appreciate so much if you tell me how you solved this problem. I have this problem too.
Gabriel Terra
Gabriel Terra on 26 Oct 2020
Edited: Gabriel Terra on 26 Oct 2020
I had this problem also! It was origniated because my training data was beeing generated incorectely. After I fixed it, I had no more problems.

Sign in to comment.

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 5 Jun 2012
My guess is that you somehow defined a Gaussian membership function with sigma set to 0. Here is the doc page explaining what Gaussian membership function is and what sigma is.
HTH.
Arkadiy
  2 Comments
matlab_image
matlab_image on 6 Jun 2012
thanks a lot.......it got solved.
ling zhang
ling zhang on 12 Nov 2015
thank you~

Sign in to comment.

More Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!