Azzera filtri
Azzera filtri

From negative to positive

86 visualizzazioni (ultimi 30 giorni)
Guido Pastore
Guido Pastore il 3 Mar 2019
Modificato: Stephan il 3 Mar 2019
How can I make all the elements of an array of double positive that are negative?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Elementary Math in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by