Problem 3075. Matrix of Multiplication Facts
I think the test suite is broken, I appear to only get x = [21,6;35,10] as the input and y is being displayed as a vector instead of the matrix that is returned. So either the return is being compared to an x that was not sent or y being a vector is causing the test cases to always fail.
Andrew, I just tried resubmitting my original solution, and the test suite was OK. What is the exact problem that you're having with the test suite when you submit your solution?
I've got the same problem as Andrew: The test suite always passes x = [21,6;35,10] to my function, even though x is assigned different values in the tests.
Hi Stefan, regarding your comment about the test suite always passing a fixed matrix, I looked into the solution space and the reference solution - the problem seems to be solvable. Where you referring to the Scratchpad by any chance? Let me know if you're still facing the issue, or if you've resolved it since the time you left the comment. Happy to help
There might have been formatting error with the first test case which led to the problems Andrew and Stefan faced.
I have corrected the error and the problem should work fine now.
Solution CommentsShow comments
Problem Recent Solvers91
Spherical radius given four points
How long is the longest prime diagonal?
Is this triangle right-angled?
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!