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일

3 개 추천

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

추가 답변 (0개)

질문:

2019년 3월 3일

편집:

2019년 3월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by