// Make a table of factorialn=(0:30)';[nfactorial(n)]// See the limits of factorial: f(171)=%inffactorial(170)// 7.257415615307998967e306factorial(171)// %inf// Plot the function on all its range.scf();plot(1:170,factorial,"b-o")h=gcf();h.children.log_flags="nln";
作者
Copyright (C) 2011 - DIGITEO - Michael Baudin
Copyright (C) INRIA - Farid BELAHCENE
参考文献
"Introduction to discrete probabilities", Michael Baudin, 2010