How can I make all the elements of an array of double positive that are negative?

 采纳的回答

Stephan
Stephan 2019-3-3
编辑:Stephan 2019-3-3
Hi,
if you have no complex numbers:
abs(A)
For complex numbers abs will calculate the magnitude.
Best regards
Stephan

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by