Log of factorial of large numbers Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: logfactorial.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Yvan Lengwiler (View more)

Log of factorial of large numbers script description:



Log of factorial of large numbers is a Matlab script for Statistics and Probability scripts design by Yvan Lengwiler. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Log of factorial of large numbers computes log10 of the factorial

Publisher review:
Log of factorial of large numbers computes log10 of the factorial This function computes log10 of the factorial. Unlike FACTORIAL, it is not limited to arguments less than 171.Two methods are implemented, one based on the gamma function (thank you, John), as well as a direct sum. The user can choose between the two methods. The gamma method is superior and is therefore the default choice.The function returns the log10 of the factorial, the mantissa and the exponent of the factorial, as well as a string representing the factorial.For instance[L,M,X,S] = logfactorial(1E6)yieldsL = 5.5657e 006 % log10(N!)M = 8.2639 % mantissaX = 5565708 % exponentS = '8.26393e 5565708' % N! as a stringThe function accepts scalars or arrays as inputs.LOGFACTORIAL is the result of a seqeunce of improvements that were suggested by John D'Errico and Urs Schwarz in their discussion of another FEX file, LARGEFACTORIAL. LOGFACTORIAL is preferrable for two reasons:1. The gamma-based code is much faster than the direct sum code, which is the only one implemented in LARGEFACTORIAL.2. LARGEFACTORIAL returns a string as the first argument, which is not very convenient to perform further computations. LOGFACTORIAL returns the log10 as the first argument, so for instance 10.^logfactorial(...) does make sense. Requirements: ยท MATLAB Release: R14SP3
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

Log of factorial of large numbers
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

  • Currently 0.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5