MATLAB Answers

i need matlab code for optimal fuzzy by using GA

9 ビュー (過去 30 日間)
Hassan Yousef
Hassan Yousef 2019 年 6 月 14 日
回答済み: Vishnu Vardhan 2019 年 6 月 14 日
hi,
please i need a GA matlab code that is used to optimize fuzzy controller.
i don't know how to implement it in matlab so can anyone help me by sending any ready code or sheet that explain how to optimize FLC using GA.
thanks in advance for any help

  0 件のコメント

サインインしてコメントする。

回答 (1 件)

Vishnu Vardhan
Vishnu Vardhan 2019 年 6 月 14 日
Here's an example for getting started with the GA. My guess is that you're trying to find the optimal parameters for your FLC that result in the system's response being as close as possible to a target response. If that's the case, you will need to write a fitness function that computes the difference between the response of your system and the desired response.
The input to the fitness function will be the vector of the different parameters for your FLC. The fitness function will then simulate the system with these parameters, and calculate how close the simulation was to the desired response. There's an example along those lines in this video, where the goal is to find the set of parameters that minimizes the difference between the simulated response and the desired response.

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by