Feeds
已回答
Creating a submatrix from a matrix
A = rand(4,3); % Get those elements of A that are located in rows 3 to 4 and % column 2 to 3. sub_matrix = A(3:4,2:3);
Creating a submatrix from a matrix
A = rand(4,3); % Get those elements of A that are located in rows 3 to 4 and % column 2 to 3. sub_matrix = A(3:4,2:3);
4 years 前 | 1
