Skip to main content
1 of 5
user49535
  • 1.2k
  • 6
  • 11

Picking first row of a matrix with positive first elemet

I have a table of order 30 X 3. I want to Pick a row from this table which is first to have its first element to be positive, irrespective of the values of the rest two elements.
For example if

T = {{-2, 1, 2}, {-4, 2, 5}, {-6, 4, 3}, {-2, 2, 1}, {2, 4, 4}, {1, 5, 3}}

Now how can tell Mthematica to Pick the row {2, 4, 4} from the matrix which is first to have its first element to be +ve thanks

user49535
  • 1.2k
  • 6
  • 11