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

62.96% Correct | 37.04% Incorrect
Last Solution submitted on Oct 18, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers127

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!