Write a function that returns the input with the sign of every element reversed.
The input may be a scalar, vector, or matrix.
Some built-in functions and signs are forbidden.

Solution Stats

21 Solutions

11 Solvers

Last Solution submitted on Sep 27, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers11

Suggested Problems

More from this Author24

Problem Tags

Community Treasure Hunt

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

Start Hunting!