Getting rid of imaginary part of complex number in simulink

5 views (last 30 days)
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 Comment
Daniel
Daniel on 27 Nov 2013
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?

Sign in to comment.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!