(possibly polynomial or improper) linear system is investigated. All static and dynamical
compensators that spotlight minimal McMillan degree are parameterized. This general result
is particularized to get compensators that preserve the L 2 or L∞ norm of the original
system, either in continuous or discrete-time. All results are completely general, numerically
sound, and based on general realizations allowing for poles at infinity.