Appendix B
Abstract This chapter provides sample source code for the T2FNN training algorithm used as controller. The programming language is MATLAB.
Keywords Simulation, Controller, MATLAB source code
Contents
B.1 SMC Theory-Based Training Algorithm for Type-2 Fuzzy Neural Network Controller 233
B.1.1 Main Script 233
B.1.2 Source Code for MATLAB Function neurofuzzy 235
B.1.3 Source Code for MATLAB Function elip.m 239
The main script file for a full SMC theory-based algorithm for the training of a T2FNN when used as a controller is given here. In order to execute this script, two functions are needed: neurofuzzy.m and elip.m. The source code for these functions must be written as an independent file. This code is provided after the main script. ...
Get Fuzzy Neural Networks for Real Time Control Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.