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.11% Correct | 36.89% Incorrect
Last Solution submitted on Apr 07, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers128

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!