0

# How to write a R program to enter two matrices A and B of size m x n and perform matrix addition, subtraction and multiplication

How to write a R program to enter two matrices A and B of size m x n and perform matrix addition, subtraction and multiplication (element-wise) operation?

1 Answer

+ 1

Answer : https://code.sololearn.com/cpVgBH3t3ElD/?ref=app (I WOULD LIKE TO SUGGEST YOU TO RUN THIS PROGRAM IN VISUAL STUDIO CODE SO THAT YOU CAN UNDERSTAND THE PRINTING AND ACCEPTING STATEMENTS )