Analysis of small and large perturbations of matrix subspaces