how i can select a part or section in the matrix
36 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zeina Abdullah
am 30 Nov. 2021
Kommentiert: Zeina Abdullah
am 30 Dez. 2021
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 Kommentare
Akzeptierte Antwort
Voss
am 28 Dez. 2021
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Error Detection and Correction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!