powered by
to get an approximation of the maximum membership grade for a given membership function in the domain of [lower, upper]
fuzzy.optimise(fuzzy.mf, lower, upper)
fuzzy member function
lower bound of the input
upper bound of the input
an approximation of the maximum membership grade in the given domain
# NOT RUN { mf <- genmf(gbellmf, c(1,2,3)) x <- seq(4, 5, by=0.01) max(evalmf(x, mf)) fuzzy.optimise(mf, 4, 5) # }
Run the code above in your browser using DataLab