Sugeno-Takagi-like fuzzy controller

by

 

This is a two input one output fuzzy controller.

fuzzy_system_data.m
% Define the range of the first input x
% x lies in [-x_a,x_a]:
x_a=1

% Define the range of the second input y
% y lies in [-y_a,y_a]:
y_a=1

% Define the singleton memberships for the output z
%define a scaling factor K. 
K=1;
%negative big
NB=-K;
% negative medium
NM=-K/2;
% positive medium
PM=K/2;
% positive big
PB=K;

Contact us