From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

Gaussian Membership Curves in System Build FuzzyLogic block

Solved!
Go to solution

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.

0 Kudos
Message 1 of 2
(11,227 Views)
Solution
Accepted by topic author steve_ulrich

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.

 

0 Kudos
Message 2 of 2
(11,199 Views)