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.

<strong>Fuzzy</strong> Clustering<br />

An Example: 2-D Clusters<br />

You can use quasi-random two-dimensional data to illustrate how FCM<br />

clustering works. To load the data set and plot it, type the following<br />

commands:<br />

load fcmdata.dat<br />

plot(fcmdata(:,1),fcmdata(:,2),'o')<br />

Next, invoke the command-line function fcm to find two clusters in this data<br />

set until the objective function is no longer decreasing much at all.<br />

[center,U,objFcn] = fcm(fcmdata,2);<br />

2-143

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

Saved successfully!

Ooh no, something went wrong!