anfis icon indicating copy to clipboard operation
anfis copied to clipboard

how to plot membership functions

Open hejiakia opened this issue 1 year ago • 0 comments

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 e433f67abb626cd5106a2fa6c56d247

whatever I set this InputVar as '0' or '1', the results just as bad as I show

hejiakia avatar Dec 09 '23 03:12 hejiakia