Getting rid of imaginary part of complex number in simulink

Is there any way to get rid of imaginary part of complex number in Embedded Matlab Function? Command a=real(b) doesn't work.

1 件のコメント

Daniel
Daniel 2013 年 11 月 27 日
When I send a complex variable after starting simulation to workspace it is described as NaN. Same code in m-file shows real and imaginary part. Can anybody help me with this?

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2013 年 11 月 27 日

コメント済み:

2013 年 11 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by