07-15-2010 07:09 AM
Hello together,
I would like to generate a Gauss function. Is there a SubVI. I tryed it, with the SubVI "Gauss Function.vi", but without success.
I hope anybody can help me.
Thanks
Greetings spaetzelcounty
LV2009
Solved! Go to Solution.
07-15-2010 07:32 AM - edited 07-15-2010 07:33 AM
It works fine.
What do you mean by u failed??
What r ur expected input & outputs???
Try "gaussfir (MathScript function)"...i think this is what u r looking for.
07-15-2010 07:56 AM
Spaetzelcountry,
i assume that you want to display a Gaussian Distribution.
If so, pleas take a look into the example finder and search for Gauss.....
hope this helps,
Norbert
07-16-2010 12:22 AM
Yes I mean a Gauss distribution.
Hello Kekin,
It is possible that you post a example with the "Gauss Function.vi"?
Hello Norbert B,
I looked into the example finder and found: "Gauss Mod sin Generation.vi". Do you mean there is a easier way (VI)?
Thanks a lot
zäpfle
07-16-2010 12:31 AM
07-16-2010 12:51 AM
07-16-2010 01:07 AM
Where can I find this VI?
07-16-2010 01:17 AM
The VI is under Math->Probability&statistics.
07-16-2010 01:40 AM
Thanks a lot an everybody
greetings zäpfle
07-31-2012 08:31 AM - edited 07-31-2012 08:36 AM
I had the same problem. I found a good solution:
In the end I used the "Gaussian-Peak-Fit.vi" . It has an input "parameter bounds"; this has to be set to the 4 parameters that define your desired gauss function (center, amplitude, width, offset).
The parameter bounds needs a max and a min-value for each parameter. I just set max=min. (see diagram: 4 values in and 8 values out as a cluster).
The data feed into the Y-input is irrelevant. It is only necessary so that the gauss-fit routine does not complain.
The inspiration for this solution came from the following statement in the help of the Gaussian-Peak-Fit.vi:
"If you know the exact value of certain parameters, you can set the lower and upper bounds of the parameters equal to the known values."
Here is a nice programm: