Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Create a binary matrix for more than 50 variables

조회 수: 1 (최근 30일)
Jay Vaidya
Jay Vaidya 2020년 11월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
I am not able to get the ouput for:
dec2bin(0:1:2^no_of_variables-1)
where 2^no_of_variables = 50 or more.
This is because
0:1:2^no_of_variables-1
itself doesn't run on for more than 50 variables.
Is it not possible for create this matrix?

채택된 답변

Bruno Luong
Bruno Luong 2020년 11월 18일
fprintf('you need a PC with %1.0f Tb of RAM\n', (2^50*50*8)/1e12)

추가 답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by