anfis
anfis copied to clipboard
how to plot membership functions
I cannot plot the anfis.plotMF. I don't know what to use as x and as InputVar. I tried several things, but the error “only integer scalar arrays can be converted to a scalar index” occurs everytime. Has someone an example?
I have been try to use this function like this:
print("Plotting membership_function") anf.plotMF(X,0)
But the results are so bad
whatever I set this InputVar as '0' or '1', the results just as bad as I show