photo

Dan Ibarra


Last seen: quasi 3 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta