Find out the real part of symbolic expression by using MuPad

2 ビュー (過去 30 日間)
Salvatore Mazzarino
Salvatore Mazzarino 2013 年 12 月 1 日
編集済み: Andrei Bobrov 2013 年 12 月 2 日
Hello. I'm trying to find out the real part of the following symbolic expression:
y0*(y2+jy0)/(y0+jy2)
by using MuPad
I write the following code in the mupad command window
Re(y0*(y2+I*y0)/(y0+I*y2))
but I don't get the result I expect. Do you know how to fix out the issue?

採用された回答

Andrei Bobrov
Andrei Bobrov 2013 年 12 月 2 日
編集済み: Andrei Bobrov 2013 年 12 月 2 日
Re(y0*(y2+I*y0)/(y0+I*y2)) assuming ([y0,y2],Type::Real)
or
assume([y0,y2],Type::Real);
Re(y0*(y2+I*y0)/(y0+I*y2));

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 12 月 2 日
simplify(Re(y0*(y2+I*y0)/(y0+I*y2))) assuming real

カテゴリ

Help Center および File ExchangeProperties and Assumptions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by