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?
Back to basics 26 - Keywords
Output any real number that is neither positive nor negative
Basic arrays operations.
Free passes for everyone!
Matlab Basics - y as a function of x
Matlab Basics - Logical Tests I
Matlab Basics - Rounding II
Matlab Basics II - squares
Matlab Basics - Set unwanted parts of a vector to zero
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