Result of z+conj(z) and z*conj(z) with z complex by default
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gennaro Arguzzi
am 7 Aug. 2017
Bearbeitet: John D'Errico
am 7 Aug. 2017
Hello everyone. Is it possible to get z+conj(z)=2*Re(z) and z*conj(z)=(abs(z))^2 without defining z=a+1i*b? I tried to wrote:
close all
clear all
syms z %z complex by default
z+conj(z) %result z+conj(z)
z*conj(z) %result z*conj(z)
Thank you in advance.
1 Kommentar
Akzeptierte Antwort
John D'Errico
am 7 Aug. 2017
Bearbeitet: John D'Errico
am 7 Aug. 2017
Absolutely impossible. ;)
But why not try it?
syms z
simplify(z+conj(z))
ans =
2*real(z)
simplify(z*conj(z))
ans =
abs(z)^2
Surely it is always worth a try?
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!