Problem 2924. Matlab Basics II - Operations and Matrix Dimensions
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.
Solution Stats
Problem Comments
-
1 Comment
James
on 24 Feb 2015
Anyone else getting floating point errors for the second test suite?
Solution Comments
Show commentsProblem Recent Solvers99
Suggested Problems
-
Return the 3n+1 sequence for n
8475 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2815 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
260 Solvers
-
find the surface area of a cube
564 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!