submatrix Questions
6
Solved
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. That i...
4
Solved
I'm currently working on a MATLAB project and I'd like to re-implement the most computational-heavy parts using C++ and Eigen.
I'd like to know if there's a way to perform the following operation (...
Revisionist asked 24/11, 2012 at 9:57
4
I would appreciate any help, to understand following behavior when slicing a lil_matrix (A) from the scipy.sparse package.
Actually, I would like to extract a submatrix based on an arbitrary index...
Nevels asked 30/9, 2011 at 10:30
1
Solved
I have several processes, each computing its own matrix. Finally, I want them to send their solved matrices to the root process, which will literally join them into one big matrix and output this s...
1
2
I have an N*N matrix (N=2 to 10000) of numbers that may range from 0 to 1000.
How can I find the largest (rectangular) submatrix that consists of the same number?
Example:
1 2 3 4 5
-- -- -- --...
3
Solved
I am a very basic user and do not know much about commands used in C, so please bear with me...I cant use very complicated codes. I have some knowledge in the stdio.h and ctype.h library, but thats...
11
Solved
Input: A 2-dimensional array NxN - Matrix - with positive and negative elements.Output: A submatrix of any size such that its summation is the maximum among all possible submatrices.
Requirement: ...
Actable asked 15/4, 2010 at 8:55
3
Solved
I'm looking for an elegant solution to this very simple problem in MATLAB. Suppose I have a matrix
>> M = magic(5)
M =
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2...
Choreograph asked 10/7, 2012 at 18:3
1
Solved
I have got an N×M matrix m like:
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
I want to get all submatrices of size P×Q (P,Q are odd) w/o employing a for-loop.
The result s should be a P×Q×((N-P+1...
Anastomose asked 4/12, 2012 at 21:15
3
Solved
Say in Matlab I have a matrix like this:
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
I now need to find submatrixes 3x3 around eve...
1
© 2022 - 2024 — McMap. All rights reserved.