请教关于复数的运算,求实部的简单问题。
Ältere Kommentare anzeigen
请教一个问题:
clear;syms m n;z=m+i*n;real(z)
ans =
m/2 + (n*i)/2 + conj(m)/2 - (conj(n)*i)/2
我只想输出实部m,请问怎么写语言呢?
Antworten (0)
Kategorien
Mehr zu Logical 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!