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.

gaussmf<br />

Purpose<br />

Syntax<br />

Description<br />

Gaussian curve built-in membership function<br />

y = gaussmf(x,[sig c])<br />

The symmetric Gaussian function depends on two parameters σ and c<br />

as given by<br />

−( x−c) 2<br />

2<br />

f x; σ,<br />

c e 2σ<br />

( ) =<br />

The parameters for gaussmf represent the parameters σ and c listed in<br />

order in the vector [sig c].<br />

Examples<br />

x=0:0.1:10;<br />

y=gaussmf(x,[2 5]);<br />

plot(x,y)<br />

xlabel('gaussmf, P=[2 5]')<br />

1<br />

0.75<br />

0.5<br />

0.25<br />

0<br />

0 2 4 6 8 10<br />

gaussmf, P = [2 5]<br />

See Also<br />

dsigmf, gaussmf, gbellmf, evalmf, mf2mf, pimf, psigmf, sigmf, smf,<br />

trapmf, trimf, zmf<br />

4-29

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

Saved successfully!

Ooh no, something went wrong!