MATLAB: computations involving large numbers
问题 How can one perform computations in MATLAB that involve large numbers. As a simple example, an arbitrary precision calculator would show that ((1/120)^132)*(370!)/(260!) is approximately 1.56, but MATLAB is not able to perform such a computation ( power(120,-132)*factorial(370)/factorial(260) = NaN ). I have also tried the following, which does not work: syms a b c d; a=120; b=-132; c=370; d=260; f=sym('power(a,b)*gamma(c+1)/gamma(d+1)') double(f); % produces error that instructs use of `vpa`