Dan Ibarra
Followers: 0 Following: 0
Feeds
提问
How to create a column combination?
I have this matrix: A=[1 1 1; 2 2 2] And I want to create the following matrix: A=[1 1 1; 1 1 2; 1 2 1; 1 2 2; 2 1 1; 2 1 2; ...
3 years 前 | 0 个回答 | 0
0
个回答提问
How do I reshape a vector into a zero-diagonal matrix?
I have these vectors: x=[1;2;3;4;5;6;7;8;9;10;11;12] y=[1;2;3;4;5;6] How do I reshape these vectors into: A = [ 0 1 ...
3 years 前 | 2 个回答 | 0
2
个回答提问
Pairwise comparision matrix considering a permutation
With the following code A=[2 3; 4 7; 5 4; 2 1]; idx = nchoosek(1:size(A, 1), 2); B = A(idx(:, 1...
3 years 前 | 1 个回答 | 0