Problem 61101. No Fives Permitted

Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fives Permitted". Otherwise, the function should return the original matrix as matrix B.

Solution Stats

54.01% Correct | 45.99% Incorrect
Last Solution submitted on Jan 05, 2026

Solution Comments

Show comments

Problem Recent Solvers146

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

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

Start Hunting!