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

4 次查看(过去 30 天)
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???

回答(1 个)

Sam Chak
Sam Chak 2023-9-2
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)

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by