I was wondering how I could name a matrix variable.
Let's say the matrix a
var=din3
a
array([[1., 1., 1., 1., 1.],
[1., 1., 1., 1., 1.],
[1., 1., 1., 1., 1.],
[1., 1., 1., 1., 1.],
[1., 1., 1., 1., 1.]])
I want to concatenate the name of the variable with a string.
I want to do something like this: a+"IM"+var
so that the resulting variable would be aIMdin3. So when I call aIMdin3 I get the matrix, instead of calling a.
How could I do this?