AnsweredAssumed Answered

complex numbers and "mismatched argument type

Question asked by PMOREL on Feb 22, 2006
Latest reply on Feb 22, 2006 by mfredrik
Hi,

I'm trying to work with complex numbers in ADS (ADS2005A) and i don't understand why some expressions are not evaluable... ???

On a schematic i place a SDD component (a very simple expression for testing purposes...), where i define implicitly  "_v2-mag(complex(_v1,0)+complex(0,_v1))"
(I just want to reproduce the _v1 input on the _v2 port, with some change).
The error message is "SYM error: mismatched argument type" when i try to simulate it.

Whereas there is no problem when i do as follow : "_v2-mag(complex(_v1,_v1))"

I have the same problem with multiplications. It is as if those operators were not defined with complex numbers ??

Is it normal, did i miss something ?  :-/

Thanks for helping,

Pascal.  

Outcomes