I want to create a PNG picture of a matrix where its entries are the following:
n, n-1, ..., 1,
2n, 2n-1, ..., n+1,
3n, 3n-1, ..., 2n+1,
...
n^2, n^2-1, ..., (n-1)n+1
For example, I was thinking something like the picture below (including the dots)
I have tried to use the command mat = {{1, 2}, {3, 4}}
but it does not accept {...} as the three dots.
I would really appreciate any suggestions/hints on how to do this.
UPDATE: I have created using the following code
MatrixForm[{{n, -1 + n, -2 + n, \[CenterEllipsis], 1}, {2 n, 2 n - 1,
2 n - 2, \[CenterEllipsis], n + 1}, {3 n, 3 n - 1,
3 n - 2, \[CenterEllipsis],
2 n + 1}, {\[VerticalEllipsis], \[VerticalEllipsis], \\[VerticalEllipsis], \[DescendingEllipsis], \[VerticalEllipsis]}, \{n^2, -1 + n^2, -2 + n^2, \[CenterEllipsis], HoldForm[(n - 1) n + 1]}}, TableAlignments -> Right] // TraditionalForm
this matrix
Thank you very much for your help.
Table[ ]
and then forMatrixForm[ ]
$\endgroup$