I want to calculate the remaining residual energy level of sensor nodes in wireless sensor networks using ANFIS. To do this I don't want to use ANFIS toolbox in matlab.Please provide me some dummy source code for 2 input and 1 output fuzzy logic controller in matlab without using ANFIS toolbox ?