Change for cross function from R2019a to R2019b
조회 수: 2 (최근 30일)
이전 댓글 표시
I see that to perform the calculation done by R2019a's cross function I now have to do conj(cross). I see that https://www.mathworks.com/help/matlab/ref/cross.html has been updated, but where else is this notable change documented ?
댓글 수: 2
James Tursa
2019년 11월 18일
편집: James Tursa
2019년 11월 18일
Interesting change, although I have never had the need to take the cross product of complex vectors myself.
답변 (1개)
Steven Lord
2019년 12월 19일
댓글 수: 1
Tony Avito
2020년 2월 14일
The update 4 is still returning the complex conjugate :)
Incorrect Code Generation: cross returns complex conjugated results for complex inputs (2088279)
try to run the code as they say:
>> a = magic(3) + 1i.*magic(3);
>> b = ones(3) + 1i.*ones(3);
>> c = cross(a,b)
c =
0.0000 - 2.0000i 0.0000 - 8.0000i 0.0000 +10.0000i
0.0000 - 8.0000i 0.0000 +16.0000i 0.0000 - 8.0000i
0.0000 +10.0000i 0.0000 - 8.0000i 0.0000 - 2.0000i
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!