필터 지우기
필터 지우기

From negative to positive

조회 수: 86 (최근 30일)
Guido Pastore
Guido Pastore 2019년 3월 3일
편집: Stephan 2019년 3월 3일
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개)

카테고리

Help CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by