photo

Dan Ibarra


Last seen: nästan 3 år 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; ...

ungefär 3 år 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 ...

mer än 3 år 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...

mer än 3 år ago | 1 answer | 0

1

answer