Question: 2. Write a MATLAB functionmatmult(A,B) (an m-file named matmult.m) that multiplies two matrices together and returns the result. Be sure that your function checks that

2. Write a MATLAB functionmatmult(A,B) (an m-file named "matmult.m) that multiplies two matrices together and returns the result. Be sure that your function checks that the matrices are of compatible sizes. NOTE: You may not use the built-in MATLAB functions that add or multiply matrices! You need to operate on the individual components in the matrix as we did last week
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
