Support and core of a fuzzy set in matlab
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm kind of new to matlab and trying to implement the following concepts in matlab:
- Support --> the support of a fuzzy set is a crisp set that contains elements with degree of membership > 0
- Core --> the core of a fuzzy set is a crisp set that contains elements with degree of membership = 1
Do you know how those two concepts can be implemented in matlab?
Thanks.
0 commentaires
Réponses (1)
Sam Chak
le 11 Avr 2025
Crisp sets can be created using linear saturation functions such as linzmf() and linsmf(). Before these two functions were introduced in the R2022a release, the trapezoidal function, trapzmf(), was commonly used.
fis = mamfis;
% Fuzzy Input 1
fis = addInput(fis, [-1 +1], 'Name', 'Input');
fis = addMF(fis, 'Input', 'linzmf', [0 0], 'Name', 'Support');
fis = addMF(fis, 'Input', 'linsmf', [0 0], 'Name', 'Core');
figure(1)
plotmf(fis, 'input', 1, 2001), grid on, ylim([-0.2, 1.2])
title('Crisp sets for Input variable')
0 commentaires
Voir également
Catégories
En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
