请教关于复数的运算,求实部的简单问题。
Afficher commentaires plus anciens
请教一个问题:
clear;syms m n;z=m+i*n;real(z)
ans =
m/2 + (n*i)/2 + conj(m)/2 - (conj(n)*i)/2
我只想输出实部m,请问怎么写语言呢?
Réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!