How to get a view of Membership function in Fuzzy logic ??

5 views (last 30 days)
Dear all
I'm working with fuzzy logic tool box.I want to get the view of membership function in FIS editor.I can get the membership functions by printing the screen. But I need another way to get it. If there is another way to obtain the view of membership functions???

Answers (1)

Sam Chak
Sam Chak on 2 Sep 2023
Instead of printing the screen to create a screenshot of the membership functions (MFs), you can use the function plotmf() to plot the MFs for an input or output variable in the fuzzy system. Then, simply copy the figure to your clipboard by clicking Edit > Copy Figure and paste it into a text document or presentation slide.
fis = readfis('tipper');
subplot(211)
plotmf(fis, 'input', 1)
subplot(212)
plotmf(fis, 'input', 2)

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!