Community Profile

photo

Dan Ibarra


Last seen: 7 maanden ago Active since 2021

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

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

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

meer dan een 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...

meer dan een jaar ago | 1 answer | 0

1

answer