Nov 25, 2009 #1 X xidian123 Junior Member level 2 Joined Dec 9, 2008 Messages 23 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location China Activity points 1,408 Hi ,I met a strange problem. Why the dbpolar() is not valid in my design ?All other function are OK~As pho below~ 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~~
Hi ,I met a strange problem. Why the dbpolar() is not valid in my design ?All other function are OK~As pho below~ 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~~
Nov 26, 2009 #2 X xidian123 Junior Member level 2 Joined Dec 9, 2008 Messages 23 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location China Activity points 1,408 help~~~~~
Nov 26, 2009 #3 J jayce3390 Full Member level 6 Joined May 22, 2007 Messages 351 Helped 29 Reputation 58 Reaction score 21 Trophy points 1,298 Activity points 3,287 Sorry, no idea
Nov 26, 2009 #4 pancho_hideboo Advanced Member level 5 Joined Oct 21, 2006 Messages 2,847 Helped 767 Reputation 1,536 Reaction score 733 Trophy points 1,393 Location Real Homeless Activity points 17,490 "dbpolar()" is not available as "Measurement Expressions", although it is available as "Simulator Expressions". See the followings. http://edocs.soco.agilent.com/display/ads2009/Measurement+Expressions http://edocs.soco.agilent.com/display/ads2009/Simulator+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 "$HOME/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. "$HOME/hpeesof/expressions/ael/user_defined_fun.ael" Then restart ADS.
"dbpolar()" is not available as "Measurement Expressions", although it is available as "Simulator Expressions". See the followings. http://edocs.soco.agilent.com/display/ads2009/Measurement+Expressions http://edocs.soco.agilent.com/display/ads2009/Simulator+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 "$HOME/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. "$HOME/hpeesof/expressions/ael/user_defined_fun.ael" Then restart ADS.
Nov 26, 2009 #5 X xidian123 Junior Member level 2 Joined Dec 9, 2008 Messages 23 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location China Activity points 1,408 Thanks a lot~~~~So great~~~