Problem 43634. Find product of eigenvalues of n*n magic matrix.
68.32% Correct | 31.68% Incorrect
Last Solution submitted on May 15, 2023
David Verrelli on 3 Jul 2018
Hello, Andriy Kavetsky. The tolerance in test 2 of the Test Suite is quite strange. As written, it seems that a result that is 1000 times larger than the true answer would be accepted as adequate. See Problem 44690 & Problem 44691 for some alternative cues. Also, it is recommended that at least four cases be provided in a Test Suite, though more are often necessary to prevent hard-coded workarounds. —DIV
Solution CommentsShow comments
Problem Recent Solvers65
Back to basics - mean of corner elements of a matrix
Find the dimensions of a matrix
Replace odd number in given matrix by zero
Matlab Basics - Convert a row vector to a column vector
More from this Author37
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!