How do I manually create a model-view matrix?

I’m making a 2d game, and would like to store matrices representing transformations for animation.

How can I create a matrix in the format which openGL “understands”?

Also, how would I then use it?

Cheers! Thanks in advance

TheSamuraiElephant