Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Index values of the n highest elements of a matrix

    Given a defined matrix of a defined size, how can I return the row and column index values of the 5 highest values in this matrix? (without using svmat)

  • #2
    You'd probably use a Mata function or two, for example, maxindex().

    Comment

    Working...
    X