symbolic math - How to compare sym variable from vpa in matlab? -
assume have 2 variables 300 digits of precision:
a = vpa(sqrt(2),300); b = vpa(sqrt(3),300);
i want know whether (b-a) > (1e-15)
true or false. should do?
i think looking this:
double(b-a)>(1e-15)
Comments
Post a Comment