fuzzy operation help needed

3 ビュー (過去 30 日間)
soloby
soloby 2015 年 6 月 14 日
コメント済み: Walter Roberson 2015 年 6 月 14 日
I am working on creating a fuzzy operation coding without using the built-in matlab function.
I believe I am very close to finishing it but I was wondering if anyone has ever worked on such project?
for example,
x = -10:0.1:10;
g1 = trapmf(x, [-2 0 0 2]); g2 = trapmf(x, [1 4 4 7]);
for example, if I had 2 functions g1 and g2,
add:
function [x,y] = fuzzyadd(a,b,d,e)
x = a + d; y = b + e;
plot(x,y)
subtract:
function [x y] = fuzzysubtract(a,b,d,e)
x = a-e; y = b-d;
I could really use some help... Thank you.
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 6 月 14 日
You did not indicate what difficulty you have encountered.

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

回答 (0 件)

カテゴリ

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