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.76% Correct | 8.24% Incorrect
Last solution submitted on Jun 24, 2019

Problem Comments