Top "Submatrix" questions

A submatrix is a matrix formed by selecting a subset of the rows and columns of one larger matrix.

Select rows of a matrix that meet a condition

In R with a matrix: one two three four [1,] 1 6 11 16 [2,] 2 7 12 17 [3,] 3 8 11 18 [4,] 4 9 11 19 [5,] 5 10 15 20 I want to extract the submatrix whose rows have column three = 11. …

r select matrix submatrix
Getting the submatrix with maximum sum?

Input: A 2-dimensional array NxN - Matrix - with positive and negative elements.Output: A submatrix of any size such …

algorithm dynamic-programming max submatrix
Finding sub matrix of a given matrix

i am trying to write an algorithm for finding a sub matrix in a given sub matrix. To solve this …

java multidimensional-array submatrix
MATLAB: extracting groups of columns into a submatrix?

I have a data-set, in which I want to extract columns 1-3, 7-9, 13-15, all the way to the end …

matlab extraction data-extraction submatrix
MATLAB: extract submatrix with logical indexing

I'm looking for an elegant solution to this very simple problem in MATLAB. Suppose I have a matrix >> …

matlab matrix indexing addressing submatrix
How to extract a 2x2 submatrix from a bigger matrix

I am a very basic user and do not know much about commands used in C, so please bear with …

c matrix submatrix
slicing sparse (scipy) matrix

I would appreciate any help, to understand following behavior when slicing a lil_matrix (A) from the scipy.sparse package. …

python scipy slice sparse-matrix submatrix
How to print all square submatrices of square matrix in C?

Please, help me to find and print all square submatrices of square matrix from big to small square matrices in …

c matrix submatrix
Submatrices and indices using Eigen

I'm currently working on a MATLAB project and I'd like to re-implement the most computational-heavy parts using C++ and Eigen. …

c++ vectorization eigen submatrix