Problem 2237. Mmm! Multi-dimensional Matrix Multiplication
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
J.R.! Menzinger
on 6 Mar 2014
The 5th case should be: C_correct = cat(3,A(:,:,1)*B,A(:,:,2)*B,A(:,:,3)*B); ??
Swapnali Gujar
on 6 Mar 2014
I gave the solution which passes all given test cases, but I am sure it will fail, if there are multiple combinations of sizes of A and B.
I believe, to get a full-proof solution, more test cases are needed. Or such solution can work for limited combination of sizes of multidimensional matrices to be multiplied.
J-G van der Toorn
on 7 Mar 2014
José Ramón, You are absolutely right. I will fix it.
Jonathan Agg
on 14 Jan 2021
Have a look in 20b! :)
Problem Recent Solvers19
Suggested Problems
-
320 Solvers
-
679 Solvers
-
Put two time series onto the same time basis
233 Solvers
-
81 Solvers
-
Check that number is whole number
2283 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!