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?
Reindex a vector
Multiply 2 numbers
Replace multiples of 5 with NaN
Replace every 3rd element in a vector with 4
Matlab Basics II - Count rows in a matrix
Matlab Basics - Pick out parts of a vector
Matlab Basics - Rounding I
Finding an element in a vector
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