Jump to navigation Jump to search
- and are any two matrices.
- This function gives the remainder of the number after dividing each entries of two matrices.
- In , and are two matrices.
- Normally we could not do the matrix division directly.Instead of that we can multiply by an inverse.
- This function is taking corresponding entries and doing the division for each element.
- When we divide two integers we will get the result as :X/Y=Q with remainder R.
- Here X is the dividend, Y is the divisor, Q is the Quotient and R is the remainder.
- So MOD(n,d)=R.So here each entries in the first matrix is divided by the second matrix and it is displaying only the remainder value.
- Also the dimension of the both matrices should be the same.
- Suppose the entries either row or column are more in the first matrix compared with the second matrix then those extra entries will display as NaN.
- Suppose the entries are more in the second matrix compared with the first matrix then those extra entries will be ignored.