From negative to positive

141 visualizaciones (últimos 30 días)
Guido Pastore
Guido Pastore el 3 de Mzo. de 2019
Editada: Stephan el 3 de Mzo. de 2019
How can I make all the elements of an array of double positive that are negative?

Respuesta aceptada

Stephan
Stephan el 3 de Mzo. de 2019
Editada: Stephan el 3 de Mzo. de 2019
Hi,
if you have no complex numbers:
abs(A)
For complex numbers abs will calculate the magnitude.
Best regards
Stephan

Más respuestas (0)

Categorías

Más información sobre Elementary Math en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by