How to make "Singleton output membership function" ?

4 ビュー (過去 30 日間)
Ratnesh Kumar
Ratnesh Kumar 2018 年 4 月 30 日
回答済み: Sam Chak 2022 年 1 月 8 日
I want to design a custom membership function, where three spikes are needed in output MF.
  1 件のコメント
admane hocine
admane hocine 2022 年 1 月 6 日
do you find you answer?

サインインしてコメントする。

回答 (1 件)

Sam Chak
Sam Chak 2022 年 1 月 8 日
You can try something like the following:
t = 0:0.001:1;
iota = [-1 0 1];
plot(iota(1)*ones(size(t)), t, iota(2)*ones(size(t)), t, iota(3)*ones(size(t)), t, 'linewidth', 2)
axis([-1.2, 1.2, 0, 1.2])

カテゴリ

Help Center および File ExchangeFuzzy Logic Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by