Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead of result.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers144
Suggested Problems
-
Find common elements in matrix rows
2713 Solvers
-
Back to basics 6 - Column Vector
1102 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
597 Solvers
-
423 Solvers
-
348 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Why return 'ERROR' when the result is 0? Doesn't seem like an error to me.
Hello, Matthew Eicholtz. For division of x by y there are no cases in the Test Suite that could return a result of 0. Note: the use of mldivide in the template could be causing confusion. —DIV