how i can select a part or section in the matrix
32 ビュー (過去 30 日間)
古いコメントを表示
i have a matrix as shown in the file i need to select specific section in the matrix and then do on it my equation .
i have 8*8 bit matrix inside 16*16 bit matrix . I want when it reaches the number 8 it jumps or goes to 17 and when it completes to 24 and goes to 33 and at 33 it continues to 40 and at the 40 it leaves and goes to 49 and continues to 56 and so on until the matrix 8 * 8 is completed as shown in the attached file. please if any one . Please if anyone has an idea please help me and I would be grateful to him
0 件のコメント
採用された回答
Voss
2021 年 12 月 28 日
Like this?
A = reshape(1:256,16,16).' % construct 16-by-16 matrix as in the file
% Take the 8-by-8 matrix that is the upper-left quarter of A
B = A(1:8,1:8)
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Error Detection and Correction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!