Change for cross function from R2019a to R2019b
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
James Tursa
am 18 Nov. 2019
Bearbeitet: James Tursa
am 18 Nov. 2019
Interesting change, although I have never had the need to take the cross product of complex vectors myself.
Antworten (1)
Steven Lord
am 19 Dez. 2019
1 Kommentar
Tony Avito
am 14 Feb. 2020
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
Siehe auch
Kategorien
Mehr zu General Applications finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!