请教关于复数的运算,求实部的简单问题。

请教一个问题:
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 个)

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!