How to plot limiting line in ADS Data Display

Status
Not open for further replies.

Annajiang

Newbie level 2
Joined
Jul 22, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
ADS Equation help

In ADS data display window, how can I plot a line like this?

-30 dB (5MHz<f<10MHz)
-25+10log10(f/10)dB (10MHz<=f<100MHz)
-10+10log10(f/10)dB (100MHz<=f<200MHz)

Thanks,
 

Re: ADS Equation help

Code:
fx=generate(5MHz, 200MHz, 1000)
http://edocs.soco.agilent.com/display/ads2009/generate()

You can use followings.
Code:
fx = generate(start, stop, npts)
     or
fx = [start::increment::stop]

Code:
y = if(fx<10MHz) then -30 elseif(fx<100MHz) then -25+10*log10(fx/10) else -10+10*log10(fx/10)

plot y
 

    Annajiang

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…