请教关于复数的运算,求实部的简单问题。
14 views (last 30 days)
Show older comments
请教一个问题:
clear;syms m n;z=m+i*n;real(z)
ans =
m/2 + (n*i)/2 + conj(m)/2 - (conj(n)*i)/2
我只想输出实部m,请问怎么写语言呢?
0 Comments
Answers (0)
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!