Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Numbers greater than INF in matlab

  1. Jul 9, 2012 #1
    Hello all,

    I need to use numbers that are greater than 10e308 in matlab. Apparently, 52 bit matlab does not recognize them and uses INF instead of the big number. I googled for it and only got some vague answers how to deal with it (something about file exchange...).Help! please...

  2. jcsd
  3. Jul 9, 2012 #2


    User Avatar
    Gold Member

  4. Jul 10, 2012 #3
    You need the Symbolic Toolbox. If your needs are "simple" enough, then you could write an Arbitrary Precision ('BigNum') library (using, say, a vector to hold numbers on a one digit per element basis). ... or google for one, maybe this http://www.mathworks.com/matlabcentral/fileexchange/22725-variable-precision-integer-arithmetic ?
  5. Jul 10, 2012 #4
    Thank you. This is very helpful. I'm going to try it now.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook