Filter löschen
Filter löschen

From negative to positive

86 Ansichten (letzte 30 Tage)
Guido Pastore
Guido Pastore am 3 Mär. 2019
Bearbeitet: Stephan am 3 Mär. 2019
How can I make all the elements of an array of double positive that are negative?

Akzeptierte Antwort

Stephan
Stephan am 3 Mär. 2019
Bearbeitet: Stephan am 3 Mär. 2019
Hi,
if you have no complex numbers:
abs(A)
For complex numbers abs will calculate the magnitude.
Best regards
Stephan

Weitere Antworten (0)

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by