MATLAB: Error running optimization tool for GAFuzzy fisgafuzzyillegal parameters please help me out with the error below. Optimization running. Error running optimization. Illegal parameters in fisGeneralizedBellMf() –> a = 0 Best Answer Your fis includes a Generalized Bell Membership Function rule, https://www.mathworks.com/help/fuzzy/gbellmf.htmlThose are of the form 1/(1 + abs((x-c)/a)^(2*b))That is not valid if a is 0, because it gives a division by 0.I suspect you are trying to do fuzzy processing to optimize a FIS. You need to put a positive lower bound on the first value. Related SolutionsMATLAB: Getting x value for a given y value from a fitted model A) Evaluate the function over a range of x and then use interp1 to interpolate over the response to find a given x that gives a desired value.B) Use fsolve() Recast the function to form f(x)-y = 0 where y is your target value. MATLAB: What is the meaning of this instruction x=[1 2;3 4;5 6]size(x)ans = 3 2 % 3 lines and 2 columnsones(size(x)) % create 3x2 array with 1ans = 1 1 1 1 1 1-inf*ones(size(x))ans =-Inf -Inf-Inf -Inf-Inf -Inf Related QuestionError while fitting: X, Y and WEIGHTS cannot have Inf values.How to get coefficients result from the code which is generated from curve fitting tool?Array of 1 and 0 to decimalWhy i receive Nan for integral -inf to -inf
Best Answer