Community Profile

photo

Dan Ibarra


Last seen: meer dan 2 jaar ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


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; ...

meer dan 2 jaar ago | 0 answers | 0

0

answers

Question


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 ...

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


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...

bijna 3 jaar ago | 1 answer | 0

1

answer