Matrix is the fine-grained material in clastic rocks that fills the spaces between the grains. By origin and alteration, matrix is divided into three types:
- Protomatrix: matrix derived mainly from the weathering products of parent rocks.
- Orthomatrix: matrix that has undergone diagenesis and has already recrystallized.
- Pseudomatrix: plastic mudstone fragments deformed by compaction that also appear matrix-like between the grains but are actually deformed rock fragments.