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

2 views (last 30 days)
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?

Accepted Answer

Joel Van Sickel
Joel Van Sickel on 20 Aug 2020
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 Comments
Joel Van Sickel
Joel Van Sickel on 21 Aug 2020
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

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!