Problem 813. Multiply 2 numbers
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Aurelien Queffurust
on 9 Jul 2012
As Richard made me notice by email, tests 5 and 6 (using randi and non-integer) were not enable. As I have rescored all solutions, some previous solutions which passed the test, do not pass it anymore.
James
on 9 Jul 2012
Can you please set a tolerance for the submitted answers? Using exp(log(x)+log(y)) fails nearly all possibilities for test case 5, with the biggest error being roughly 2.5e-11.
Ilias Patelakis
on 24 Oct 2017
Nice one. It would be more challenging to add a test case where both function arguments are decimal numbers. :)
Jiahang Li
on 4 Feb 2018
You can try adding, and something wonderful happens.
Solution Comments
Show commentsProblem Recent Solvers326
Suggested Problems
-
1137 Solvers
-
392 Solvers
-
Sum the 'edge' values of a matrix
314 Solvers
-
801 Solvers
-
1009 Solvers
More from this Author30
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!