Hi,
I would like to use the complex lookup table in polar form instead of real / imag notation. I tried polarcpx(polar(1,90)) but it does not work.
Any idea. Thanks Wolfram???
I would like to use the complex lookup table in polar form instead of real / imag notation. I tried polarcpx(polar(1,90)) but it does not work.
Any idea. Thanks Wolfram???
you are write. It works. The touble comes with the value array being in a variable. It leads to a segmentation error. But specifying the values directly in the table is working.
Thank you. Wolfram
I was too fast. Instead of polar(x,y) I used (x,y) which is a correct notation but not what I want. As soon as I add polar() or polarcpx() I get errors.
Wolfram
You should use reference (@) in this case.
If you'd like to specify the value in the parameter dialog box, use @polar(x,y) or @{polar(x,y), polar(y,x)} (for multiply values).
You can also specify the value directly on the schematic, type in polar(x,y) or {polar(x,y), polar(y,x)} (for multiply values) after the "=".
For more information, please check out the help of "ADS Ptolemy Simulation: Understanding Parameters". The online version is here http://eesof.tm.agilent.com/docs/adsdoc2004A/ptolemy/pt04.html.
- Linbing
now it is working. Excellent.
Thank you Wolfram