Calculation of Enormous Numbers

1 回表示 (過去 30 日間)
dsmalenb
dsmalenb 2016 年 7 月 18 日
コメント済み: dsmalenb 2016 年 7 月 18 日
Greetings!
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 =
10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069376
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!

採用された回答

James Tursa
James Tursa 2016 年 7 月 18 日
編集済み: James Tursa 2016 年 7 月 18 日
  1 件のコメント
dsmalenb
dsmalenb 2016 年 7 月 18 日
Thank you. I figured there was a way to do it.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by