Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do not sum any fives.

Solution Stats

421 Solutions

188 Solvers

Last Solution submitted on Feb 15, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers188

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!