MATLAB Answers

0

i need to switch all integers in my array to positive numbers

Asked by Omar Almahallawy on 15 Jun 2019
Latest activity Answered by John D'Errico
on 15 Jun 2019
A= [ 12 -16 -7 ]
answer= [ 12 16 7]
i need a function that converts all negative integers to positive integers

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by John D'Errico
on 15 Jun 2019

You might need to read the getting started tutorials, if you are asking questions this basic.
help abs

  0 Comments

Sign in to comment.