Announcement

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

  • element-wise min()

    Hi everyone,
    I´m new to Mata. I come from Matlab world.
    If I pass a (nx2) matrix to the min() function it returns the minimal value in the whole matrix.
    I want to get a vector with the minimal values of 2 vectors (compared row by row).
    Is there a way to do it without a loop?
    Thanks
Working...
X