Fuzzy Operation (Add, subtract, multiply, and divide) without using the built-in matlab function?
古いコメントを表示
I'm trying to do the fuzzy operations of 2 specific functions f1 and f2 where
f1 = gaussmf(x, [2 2]); f2 = gaussmf(x, [3 6]);
since fuzzy addition has x-values from the lower and upper limits of x from two functions [a,b]+[d,e] = [a+d, b+e]
I have to do this for 100 y-values from 0 to 1.
Has anyone tried to do this?
thank you
回答 (2 件)
Salaheddin Hosseinzadeh
2015 年 6 月 8 日
0 投票
Hi Soloby,
What's y all of a sudden?!
15 件のコメント
soloby
2015 年 6 月 8 日
Salaheddin Hosseinzadeh
2015 年 6 月 8 日
You're looking for fuzzy addition. Then just add them.
f3 = gaussmf(x,[2+3,2+6]);
is this what you're looking for!
soloby
2015 年 6 月 8 日
Salaheddin Hosseinzadeh
2015 年 6 月 8 日
I would appreciate if you provide further info, cuz that what I understood from your question. And I'm still confused what you're looking for.
soloby
2015 年 6 月 8 日
編集済み: Walter Roberson
2015 年 6 月 9 日
Salaheddin Hosseinzadeh
2015 年 6 月 8 日
OK, It's better now. you don't want to use fuzarith() function.
I guess the only trick is with the division perhaps! I'm not sure though. I'm gonna give it a try soon.
soloby
2015 年 6 月 8 日
soloby
2015 年 6 月 9 日
編集済み: Walter Roberson
2015 年 6 月 9 日
Salaheddin Hosseinzadeh
2015 年 6 月 9 日
I'm stock here! with the alpha (a)
See if you can continue from this point.
File is attached, addition and subtraction works fine, the product intervals is ok too but the mf is not! compare it with the matlab built in function
soloby
2015 年 6 月 9 日
Salaheddin Hosseinzadeh
2015 年 6 月 9 日
mf is Membership Function, I assumed we're talking fuzzy logics.
soloby
2015 年 6 月 9 日
Salaheddin Hosseinzadeh
2015 年 6 月 10 日
編集済み: Salaheddin Hosseinzadeh
2015 年 6 月 10 日
Hi Soloby,
As you said we should not use the same membership function (mf) for the resultant multiplication. The shape of the resulting mf is different from trapmf. How is it different is something I don't know. I don't think if it is that difficult. Search about a-cut (alpha-cut) method in fuzzy arithmetic (or something similar) see if you understand anything.
Please let me know if you made a progress or need help.
Good Luck!
Umabharati Rawat
2021 年 1 月 16 日
Hello, I am trying to add and subtract two 18X18 matrix containing fuzzy numbers. Could you please suggest how to perform this operation using the matlab?
amrozia mazhar
2020 年 8 月 6 日
0 投票
inverse of fuzzy numbers is possible ? and how
カテゴリ
ヘルプ センター および File Exchange で Fuzzy Logic in Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!