Prev: how to create a smiley face using matlab that will roll across the screen.
Next: Fittype objects and scalar functions
From: Vaibhav on 25 Oct 2009 15:51 Hello, I am trying to train a set of input output data using anfis. There are two inputs and one output. The output basically is given by the following function:- output = (ln(constant*input1))-(constant*input2) I am using the following commands for training:- fismat = genfis1(trndata, 3, 'trimf'); outfis = anfis(trndata, fismat, 50); However, I get the following error... ??? Error using ==> anfismex Illegal parameters in fisTriangleMf() --> a > b Error in ==> anfis at 225 [t_fismat] = ... Any idea what the error in my program is? or what the error implies? I am not able to understand what is wrong with my code. |