how can store two power 1000 value in matlab.

Sir,
I calculated 2^n values in a array. The data types int64 and n=1000.
After 2^63 the result will be same. How can I store 2^1000 value.
Shall I use floating point. Kindly give the solution for this problem.

답변 (2개)

Oleg Komarov
Oleg Komarov 2012년 10월 18일

0 개 추천

You can with the Symbolic Toolbox:
s = vpa(2^1000,301);

카테고리

도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2012년 10월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by