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 Solvers95
Suggested Problems
-
6061 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
870 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
584 Solvers
-
959 Solvers
-
Matrix of almost all zeros, except for main diagonal
187 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!