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 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by