Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
のような多項式が与えられた(a+b*i)*c+i場合a、 、b、cは 3 つの実数値を表す記号要素として定義されi、虚数単位です。この多項式の実部と虚部を返す方法は?
(a+b*i)*c+i
a
b
c
i
a = sym('a','real'); b = sym('b','real'); c = sym('c','real'); expand(real((a+b*1i)*c+1i))