how to create fuzzy membership function in Matlab in triangular form?

I want to write a matlab code that implement the traingular form of fuzzy membership function that I will use for my fuzzy controller.
I have looked up some c code since I will have to implement in in mincrocontroller.
is there a way to do it on matlab programming?

 Akzeptierte Antwort

Joel Van Sickel
Joel Van Sickel am 20 Aug. 2020

0 Stimmen

Hello Tarik,
you can use Matlab or Simulink for fuzzy control. You will need to use the Fuzzy Logic Toolbox for that, which does support generating c-code from your designs.
Regards,
Joel

3 Kommentare

Hello Joel,
My company ddoes not have the licence for fuzzy logic toolbox, that is why I want to have it in code
Hello Tarik,
you can search the file exchange for examples of what other people may have posted for home grown fuzzy logic solutions if you do not want to use MathWorks products: https://www.mathworks.com/matlabcentral/fileexchange/
Regards,
Joel
Thank you Joe

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Communitys

Weitere Antworten in  Power Electronics Control

Kategorien

Mehr zu Fuzzy Logic Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 20 Aug. 2020

Kommentiert:

am 18 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by