Hi MatLab!
I've stumbled across a problem. I wish to take all the first hundred digits in the square root of 2 —> sqrt(2) and sum them up.
I first use
N=sym('sqrt(2)'); vpa(N,100)
which gives me alot of digits. But when I try to num2str the answer it cant be done. How can I achieve this?
Best Answer