Getting rid of imaginary part of complex number in simulink

7 visualizaciones (últimos 30 días)
Daniel
Daniel el 27 de Nov. de 2013
Comentada: Daniel el 27 de Nov. de 2013
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 comentario
Daniel
Daniel el 27 de Nov. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by