フィルターのクリア

Imagenary results while using solve while requesting only Real solutions

1 回表示 (過去 30 日間)
Gil Maor
Gil Maor 2017 年 8 月 2 日
回答済み: Torsten 2017 年 8 月 2 日
Hi All,
I have a symbolic trigonometric equation. when using solve command, which the output is an angle my command goes as follows a=solve(eqn==0,alfa,'Real',true) which is the solution for the trigonometric equation. the resutls are correct and verified by other design tools. and are REAL numbers.
My problem is that the symbolic solution has both Real and Imaginary parts. how can I format the results so the symbolic answer will have on REAL parts. this symbolic solution is used later on so the real and imaginary part cause me alot of problems.
Thanks!
Gil,

回答 (1 件)

Torsten
Torsten 2017 年 8 月 2 日
help real
help imag
Best wishes
Torsten.

カテゴリ

Help Center および File ExchangeAssumptions についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by