RESHAPE

조회 수: 4 (최근 30일)
Pranoy
Pranoy 2012년 2월 9일
i have an array of binary numbers of size(1*32768)... i need to reshape this to another array of size(4096*8) with the first 8 binary digits of the previous array as the first row of the new array....how to do this????

답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 9일
reshape(A, [8 4096]) .'
You must do it this way in order to have the bits come out row-wise.

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by