Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to plot membership functions #26

Open
hejiakia opened this issue Dec 9, 2023 · 0 comments
Open

how to plot membership functions #26

hejiakia opened this issue Dec 9, 2023 · 0 comments

Comments

@hejiakia
Copy link

hejiakia commented Dec 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant