Using for loop to indicate dataset based on its name

Progress toward an answer stops here. See the FAQ

Only two 3x3 matrices are needed to illustrate the problem, but it's up to the poster to provide them.