Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top