Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Is there a way for MatLab to compute random numbers for a range of numbers?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a set of numbers but I need to compute all combinations of them and put them in a spreadsheet. Can Mathlab help me with this?
댓글 수: 4
Mohammad Abouali
2015년 10월 1일
편집: Mohammad Abouali
2015년 10월 1일
Let's say you generate all the 20^100 numbers; Where do you want to store it? Let's say you need only 1Byte for each number (which definitely you gonna need more; but let's just ignore this), then you gonna need 1.1259e+115 PetaBytes of storage to store all of them. Something tells me even with all the computers combined, you won't have that much of storage.
답변 (2개)
Walter Roberson
2015년 10월 1일
No. 20^100 exceeds the estimated number of elementary particles in the Universe. You would need to be able to somehow inscribe at least 10^45 different values on each elementary particle in order to store 20^100 lists of numbers. This cannot be done.
댓글 수: 5
the cyclist
2015년 10월 1일
It sounds like you might want the perms command. If that is not quite what you need, you might click on some of the "See Also" commands listed at the bottom of that page.
댓글 수: 3
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!