How to get a number in matlab
Ältere Kommentare anzeigen
m1=.1+.8*1i;
m2=.5+.8*1i;
A=(m2-conj(m2)).*(m1-m2).*(m1-conj(m2)).*(m1.^2+conj(m1).^2)+m1^2.*(m1-conj(m1)).*((m1-m2).*(conj(m1)-m2)+(m1-conj(m2)).*(conj(m1)-conj(m2)))-(m1-conj(m1)).*(m2.^2.*(m1-conj(m2)).*(conj(m1)-conj(m2))-conj(m2).^2.*(m1-m2).*(conj(m1)-m2));
B=4*m1.*conj(m2).*(m1-conj(m1)).*(m1-m2)-4*m1.*conj(m1).*(m1-m2).*(m1-conj(m2));
C=2*A./B;
solve(C)
How to get the value for C? C would be just a number.
1 Kommentar
madhan ravi
am 1 Sep. 2018
TRY THIS:
m1=.1+.8*1i;
m2=.5+.8*1i;
A=(m2-conj(m2)).*(m1-m2).*(m1-conj(m2)).*(m1.^2+conj(m1).^2)+m1^2.*(m1-conj(m1)).*((m1-m2).*(conj(m1)-m2)+(m1-conj(m2)).*(conj(m1)-conj(m2)))-(m1-conj(m1)).*(m2.^2.*(m1-conj(m2)).*(conj(m1)-conj(m2))-conj(m2).^2.*(m1-m2).*(conj(m1)-m2));
B=4*m1.*conj(m2).*(m1-conj(m1)).*(m1-m2)-4*m1.*conj(m1).*(m1-m2).*(m1-conj(m2));
C=2*A./B
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

