Question


how to replace an element in a matrix with another matrix?
For example, a = [ 1 1 0 1 1 0, 0 0 1 1 1 1, 0 0 0 0 0 ...

6 years ago | 0 answers | 0

0

answers

Question


How to concatenate these matrices where the below matrices are formed out of permutation?
i = 1 1 0 0 i = 1 1 0 0 i = 0 1 1 0 ...

6 years ago | 2 answers | 0

2

answers

Question


How to generate binary matrices of size (2k-2)x1 where the permutation of generation is N = ((2k−2)!) / ((k−1)!(k−1)!) provided that there should be atleast one 1's in all the rows and columns and atleast one zero column.
Construct a matrix M1 with size of (2k − 2) × 1. M1 contains (k − 1) ones and (k − 1) zeros. For example, M1 = [1 1 1 0 0 0]T ...

6 years ago | 0 answers | 0

0

answers

Question


How to construct a matrix M1 with size of (2k − 2) × 1. M1 contains (k − 1) ones and (k − 1) zeros. For example, M1 = [1 1 1 0 0 0]T for k = 4. We obtain all possible permutations of M1, denoting Mi , i = 2, . . . ,N, where N = (2k−2)! (k−1)!(k−1)!
How to construct a matrix M1 with size of (2k − 2) × 1. M1 contains (k − 1) ones and (k − 1) zeros. For example, M1 = [1 1 1 0 0...

6 years ago | 2 answers | 0

2

answers