


Let us know how this might play a role in your workflows. I'm interested in hearing your comments on this. John has given us a nice tool for manipulating integers. Also, it supports matricesĪnd n-dim arrays of numbers, and allows you to combine symbolic and numeric variables in expressions like "1.2*x+3.4*y". VPA (from our Toolbox) also supports floating point numbers it can work with Pi, for instance. John's VPI class deals only with scalar integers, whereas If you need more, or faster, there's always the Symbolic Math Toolbox. Using his object class, one can easily manipulate very large integers-often larger Know how "simple" his solution was to implement, but John created a new variable class (vpi) that is quite easy to use.Īctually, John's code is pretty impressive. Since I don't have the symbolic toolbox, the simple solution was to write it in MATLAB." I don't "Every once in a while, I've wanted to do arithmetic with large integers with magnitude exceeding that which can fit into Matlab - the Symbolic Toolbox based on Maple This little document hopes to convince you that spending a few minutes learning to use the Symbolic Toolbox might save you hours of time. In his introduction to his submission on variable precision integer arithmetic, John D'Errico wrote: Brett's Pick this week provides a subset of the functionality of our Symbolic Math Toolbox, but doesn't require any tools besides core MATLAB!
