No, to be equal, two matrices must have the same dimensions, and must have the same values in the same positions.

For two matrices to be equal, they must have

- The same dimensions.
- Corresponding elements must be equal.

In other words, say that **A _{n x m}** = [a

Then **A** = **B** if and only if n=p, m=q, and a_{ij}=b_{ij}
for all i and j in range.

Here are two matrices which __are not__ equal even though
they have the same elements.

Here is another pair of matrices.

Are these two matrices equal?