ADS - about function- dbpolar()
Is there any one met the same problem ?
BTW,how to display this point, 0.23/14 (dB/ang) ,on the smith chart ?
thanks very much~~
help~~~~~
Sorry, no idea
"dbpolar()" is not available as "Measurement Expressions", although it is available as "Simulator Expressions".
See the followings.
http://edocs.soco.agilent.com/displa...nt+Expressions
http://edocs.soco.agilent.com/displa...or+Expressions
Use "A1=10**(0.2872/20.0)*exp(j*14*pi/180.0)" instead of "A1=dbpolar(0.2872, 14)".
Or use "A1=polar(10**(0.2872/20.0), 14)"
Of course you can define your "dbpolar()" function which is available as Measurement Expressions.
Save following as "SHOME/hpeesof/expressions/ael/dbpolar.ael"
defun dbpolar(dBX, Angle_deg)
{
return 10**(dBX/20.0) * exp(j*Angle_deg*pi/180.0);
}
or
defun dbpolar(dBX, Angle_deg)
{
return polar(10**(dBX/20.0), Angle_deg);
}
And add load("dbpolar"); in the following.
"SHOME/hpeesof/expressions/ael/user_defined_fun.ael"
Then restart ADS.
Thanks a lot~~~~So great~~~
