Problem 1943. Signed Magnitude

For a given input vector, return the value that is furthest from zero.

For example, if

x = [1 2 -12]

return -12.

Solution Stats

63.27% Correct | 36.73% Incorrect
Last Solution submitted on Nov 16, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers129

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!