NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
steve_ulrich
Posts: 3
0 Kudos
Accepted Solution

Gaussian Membership Curves in System Build FuzzyLogic block

Hi,

 

As noted in the SystemBuildTM FuzzyLogic Block User Guide (ver. Apr 2007), one can create a triangular membership curve by simply using the special function:

 

TRG(x,a,b,c)

 

Is there by any chance another special function to create a Gaussian membership curve (such a membership curve is very common in fuzzy control applications)? If not, any ideas on how I could define it myself, as I really need to use a Gaussian membership curve instead of a triangular one.

 

Many thanks.

Member
steve_ulrich
Posts: 3
0 Kudos

Re: Gaussian Membership Curves in System Build FuzzyLogic block

Ok, for those of you who might be interested in using a Gaussian membership function, I've just found a way to define it in the Fuzzy Logic block using the exp function, as follows:

 

exp(-0.5*(X-c)^2/b^2)

 

where

 

c is the center of Gaussian function, and b^2 is the variance.

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page