what is fuzzyf code in matlab ? how can i replace this with 2021a version of matlab please help .

3 ビュー (過去 30 日間)
harshitha M
harshitha M 2021 年 5 月 22 日
回答済み: Rishik Ramena 2021 年 5 月 31 日
for i=1:k
CC=[fuzzyf(S1(i,:),Qrel(i,:));fuzzyf(S2(i,:),Qrel(i,:));...
fuzzyf(S3(i,:),Qrel(i,:));fuzzyf(S4(i,:),Qrel(i,:))];
So =So+CC;
end
Unrecognized function or variable 'fuzzyf'.
>> clear for
>> for i=1:k
CC=[fisrule(S1(i,:),Qrel(i,:));fisrule(S2(i,:),Qrel(i,:));...
fisrule(S3(i,:),Qrel(i,:));fisrule(S4(i,:),Qrel(i,:))];
So= So+CC;
end
Error using fisrule (line 341)
Input number must be a finite positive integer value.

回答 (1 件)

Rishik Ramena
Rishik Ramena 2021 年 5 月 31 日
There certainly is no function named 'fuzzyf' in MATLAB. However fisrule is a valid function which is used to create fuzzy rule objects in MATLAB, Just make sure that the arguments you pass are valid. Have a look here to ensure the type of the inputs match the function signature.

カテゴリ

Help Center および File ExchangeFuzzy Inference System Modeling についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by