I hope you can help me with this. I've defined two matrix, i and T, and I want to operate them this way:
but, as you may see, it simply shows the sum of the two matrices.
I don´t know what could it be.
You apparently defined i and T using MatrixForm, which makes printable things that aren't matrices for purposes of calculation. Try MatrixForm[i-T/.MatrixForm->Identity]. Or, just avoid MatrixForm when intending to do calculations with matrices.
iandT? – thorimur May 08 '21 at 21:53MatrixFrom[]. It is the first part inside :m1 = MatrixForm[{{a, b}, {c, d}}]; m2 = MatrixForm[{{x, y}, {z, t}}]; MatrixForm[m1[[1]] + m2[[1]]]– andre314 May 08 '21 at 22:00iandT; and it will be especially helpful to be more descriptive of what errors you encounter when you say “It still doesn’t work”. – CA Trevillian May 09 '21 at 00:28