Nice problem to learn the use of java inside Matlab.
BigInteger of doubles above 128 does odd things. BigInteger(num2str(v_dbl)) will work up to 2^53. I did not go into BigInteger limitations.
Usage of BigInteger will cause headaches. The Challenge is BigDecimal.
2418 Solvers
1744 Solvers
How to find the position of an element in a vector without using the find function
2482 Solvers
1316 Solvers
Generate a random matrix A of (1,-1)
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!