Hello, I have a big table from which I need to delete numbers below the diagonal of the table:
a=TableForm@{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}, {13, 14, 15,
16}}
b = TableForm@{{1, 2, 3, 4}, {, 6, 7, 8}, {, , 11, 12}, {, , , 16}}
Such as a
to b
above. The table is big, so this is just a case. How to do it smartly? It is better to replace Null
with empty.