필터 지우기
필터 지우기

exp(1i*(an​gle(x)-ang​le(y)))==(​x.*abs(y))​./(abs(x).​*y),which one is better?

조회 수: 3 (최근 30일)
Tmfu Vh
Tmfu Vh 2019년 7월 14일
댓글: Tmfu Vh 2019년 7월 14일
The two expressions seem to be mathematically equal:
exp(1i*(angle(x)-angle(y)))==(x.*abs(y))./(abs(x).*y);
Which one do you think will have a better performance?
  댓글 수: 7
Bruno Luong
Bruno Luong 2019년 7월 14일
Because x./y is NOT equal to x.*conj(y)
Tmfu Vh
Tmfu Vh 2019년 7월 14일
@Bruno Luong Magical lesson. Thanks a lot.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by