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

763 Solutions

311 Solvers

Last Solution submitted on Oct 12, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers311

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!