MATLAB: From negative to positive please help me.. How can I make all the elements of an array of double positive that are negative? Best Answer Hi,if you have no complex numbers:abs(A)For complex numbers abs will calculate the magnitude.Best regards Stephan Related SolutionsMATLAB: How to find prime numbers Hi,A=primes(50); A(length(primes(25))+1:end)Dave MATLAB: Check Positive or Negative Infinity sign(abc) .* isinf(abc) Related QuestionPositive and Negative ImageSeparate the positive values from the negative valuesPositive and negative deflectionIgnoring the negative values….Flip signal (positive and negative)
Best Answer