how to find matrix nonsingular P and Q such that $PAQ $ is a normal form?

1.6k Views Asked by At

Given matrix $A$: $$\pmatrix{1&1&1\\2&2&2\\-1&1&-3\\1&2&0}$$

how to find matrix nonsingular P and Q such that $PAQ $ is a normal form?

Thanks!