photo

George Aipal


Aktiv seit 2016

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to find which elements for each row of matrix B (NxM) are contained in matrix A (NxK), in their corresponding row n using vectorization?
How to find which elements for each row of matrix B (NxM) are contained in matrix A (NxK), in their corresponding row n? Toy ...

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
How to find which elements for each row of matrix B (NxM) are contained in matrix A (NxK), in their corresponding row n using vectorization?
I should probably post my question as a new comment: although I accepted the solution provided by Stephen as it worked nicely in...

mehr als 8 Jahre vor | 0

Frage


Unique elements in matrix efficiently
Given a matrix A, what is an efficient way to obtain a matrix B that consists of only the unique elements in A (where by unique,...

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
Unique elements in matrix efficiently
Thank you all for your answers. It is correct the comment that A(2, 2) should not be NaN because it is the only 1 in that row. R...

mehr als 8 Jahre vor | 0

Frage


List of indexes for each row of a matrix without a for loop
Matrix DATA contains some data, and matrix INDSETS contains the indexes to be extracted from each row of DATA. Example: ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort