MATLAB Answers

Calculation of Enormous Numbers

1 view (last 30 days)
dsmalenb on 18 Jul 2016
Commented: dsmalenb on 18 Jul 2016
I am trying to calculate some truly enormous numbers but I am running into difficulties using the symbolic toolkit. I am looking to calculate and do further operations to numbers around 2^1000. From the Matlab support literature they suggest I use the Symbolic Toolkit. I ran the following snippet:
syms Z;
Z = sym('2^1000')
The output is the following:
Warning: Support of strings that are not valid variable names or define a number will be removed in a future release. To
create symbolic expressions, first create symbolic variables and then use operations on them.
> In sym>convertExpression (line 1536)
In sym>convertChar (line 1441)
In sym>tomupad (line 1198)
In sym (line 177)
In test (line 103)
Z =
I am not sure how to work around this warning. Perhaps there is a better way to approach this?
I would appreciate any help!
Thank you!


Sign in to comment.

Accepted Answer

James Tursa
James Tursa on 18 Jul 2016
Edited: James Tursa on 18 Jul 2016

  1 Comment

dsmalenb on 18 Jul 2016
Thank you. I figured there was a way to do it.

Sign in to comment.

More Answers (0)

Sign in to answer this question.