フィルターのクリア

unable to solve symbolically. returning a numeric solution using vpasolve

27 ビュー (過去 30 日間)
Yago Ferrara Román
Yago Ferrara Román 2021 年 12 月 2 日
回答済み: Reshma Nerella 2021 年 12 月 10 日
Im trying to get the real and the imaginary part of this function.
syms z complex
g(z)=exp(z)+sin(z)
solve(exp(z)+sin(z)==0)

回答 (1 件)

Reshma Nerella
Reshma Nerella 2021 年 12 月 10 日
Hi,
To get the real and imaginary part, you can use real, imag functions.
g(z)=(exp(z)+sin(z) == 0)
real(g(z)) %returns the real part
imag(g(z)) %returns the imag part
In order to simplify it further, in terms of any other function you can use rewrite function
simplify(rewrite(imag(g(z)), 'exp'))

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by