Problem 2670. Error handling

If the input is a negative number, generate an error. Otherwise, return the number.

Solution Stats

35.56% Correct | 64.44% Incorrect
Last Solution submitted on Mar 05, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers59

Suggested Problems

More from this Author44

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!