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

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