Effacer les filtres
Effacer les filtres

Unable to run genfis1 command

1 vue (au cours des 30 derniers jours)
shaista
shaista le 14 Jan 2014
Commenté : shaista le 14 Jan 2014
when i execute this statement in command prompt: DATA={[43 0],[55 25],[67,75],[79,100]}; >> FIS = genfis1(DATA, [4], trimf, linear); it gives following error: ??? Undefined function or method 'min' for input arguments of type 'cell'.
Error in ==> genfis1 at 92 range = [min(data,[],1)' max(data,[],1)']; please help me

Réponses (1)

David Sanchez
David Sanchez le 14 Jan 2014
genfis1 do not accept cell data ( the {} defines a cell ). Do it like this:
DATA=[[43 0],[55 25],[67,75],[79,100]];
FIS = genfis1(DATA,[4], 'trimf', 'linear');
  1 commentaire
shaista
shaista le 14 Jan 2014
thanks

Connectez-vous pour commenter.

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!

Translated by