Basics - not so easy division - MATLAB Cody - MATLAB Central

Problem 43154. Basics - not so easy division

Difficulty:Rate
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

41.24% Correct | 58.76% Incorrect
Last Solution submitted on May 18, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers139

Suggested Problems

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!