Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

real part of complex number

real part of complex number

hello,

    I want to extract just the real part of a complex number, so can any one help me please?
thank in advance for your answer

Re: real part of complex number

Hello,

simply number.re

Look in Modelica.ComplexBlocks.ComplexMath.ComplexToReal.mo for an example

Best regards,
Rene Just Nielsen

Re: real part of complex number

hello, thank you for your answer it was helpful

There are 0 guests and 0 other users also viewing this topic