Cody

Problem 2864. Matlab Basics - Absolute Value

Created by Yaz Majeed in Community

Write a script that returns the absolute value of the elements in x

e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

Solution Stats

91.61% Correct | 8.39% Incorrect
Last solution submitted on May 26, 2019

Problem Comments