0

I hope you can help me with this. I've defined two matrix, i and T, and I want to operate them this way:

enter image description here

but, as you may see, it simply shows the sum of the two matrices.

I don´t know what could it be.

Carxs
  • 1
  • 1

1 Answers1

2

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.

John Doty
  • 13,712
  • 1
  • 22
  • 42