# Matrix Coordinate

```java
int row = matrix.length;
int col = matrix[0].length;
int start = 0, end = row * col - 1;

int number = matrix[mid / col][mid % col];
```
