31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Building <strong>Fuzzy</strong> Inference Systems Using Custom Functions<br />

else<br />

y(i)=0;<br />

end<br />

end<br />

out=.1*y'; % scaling the output to lie between 0 and 1<br />

Note Custom membership functions can include a maximum of 16<br />

parameters for the input argument.<br />

2 Open the FIS Editor by typing fuzzy at the MATLAB prompt, if you have<br />

notdonesoalready.<br />

The FIS Editor opens with the default FIS name, Untitled, and contains<br />

one input input1, and one output output1.<br />

2-61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!