Question: 1. Write a MATLAB function addemup(A,B) (an m-file named addemup.m) that adds two matrices together and returns the result. Be sure to check that
1. Write a MATLAB function addemup(A,B) (an m-file named "addemup.m") that adds two matrices together and returns the result. Be sure to check that the matrices are of compatible sizes. You must annotate the function to explain input, output and what it does.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
