Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE dimensions: if, for example, a is 3x2, then b is 2x3. Round your answers to two decimal places.
Anyone else getting floating point errors for the second test suite?
Find the sum of the elements in the "second" diagonal
Matlab Basics II - 3 Dimensional Arrays
Matlab Basics - Set unwanted parts of a vector to zero
Matlab Basics - y as a function of x
Matlab Basics II - Count rows in a matrix
Matlab Basics II - Determine if an array has a 3rd dimension
Matlab Basics II - Minimum
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office