matrix_select/4

"matrix_select(+ Matrix,+ Dimension,+ Index,- New" )

Select from Matrix the elements who have Index at Dimension.