请教关于复数的运算,求实部的简单问题。
이전 댓글 표시
请教一个问题:
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!