Trip in matrix