The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Factorial function in origin
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Nilsdalby

Denmark
23 Posts

Posted - 09/18/2011 :  06:50:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Running OriginPro 8.1 on win 7

Hi

Im looking for a factorial function in origin for use in a fitting function to a binomial distribution. Earlier posts (2000 - 2005) claim its not in origin and give access to a script that i assume would work pooly in a compiler. Is there a factorial function somewhere, or how can i work around this ?

Thanks, Nils

Nilsdalby

Denmark
23 Posts

Posted - 09/18/2011 :  12:58:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
...of course, the gamma function can do this, gamma(x+1) - doh!
Go to Top of Page

Penn

China
644 Posts

Posted - 09/19/2011 :  02:28:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Nils,

You are right, you can use gamma() function now. In the coming version, Origin 8.6, the factorial function, fact(), will be available.

Penn
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/19/2011 :  03:31:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You needn't use factorial function. OriginC provides binocdf function to calculate binomial distribution for X<=k, X>k or X=k.

For more information, see the page.
http://ocwiki.originlab.com/index.php?title=OriginC:Binocdf_%28global_function%29

Sam
OriginLab Technical Services

Edited by - Sam Fang on 09/19/2011 03:31:46 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000