Row vector into array.
조회 수: 14 (최근 30일)
이전 댓글 표시
I have this A variable made up by 1x72 double.
댓글 수: 0
채택된 답변
Mischa Kim
2014년 2월 21일
편집: Mischa Kim
2014년 2월 21일
Francesco, you could use
A(A == 0) = [];
B = reshape(A,8,8)
for your specially formatted matrix A, where the zeros are located at those very same positions.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!