How to get scalar value out of a waveform?

Discussion in 'Cadence' started by Thomas Ussmueller, May 2, 2006.

  1. Dear all,

    I am simulating phase noise of my oscillator. The output of the
    PhaseNoise command is a waveform. I'd like to extract a value of the
    y-axis at a given x-value. To be more precisely I'd like to get the
    value of the phase noise at a offset frequency of 1 MHz.

    I am looking for a function that returns a scalar out of the specified
    waveform.

    I have looked through the documentation, but I couldn't find a function
    that would do this for me. Has anyone an idea how I could achieve this.

    Thanks for your help and best regards
    Thomas Ussmueller
     
    Thomas Ussmueller, May 2, 2006
    #1
  2. Thomas Ussmueller

    S. Badel Guest

    x = 1M
    y = value(wave x)

    should do it...

    stéphane
     
    S. Badel, May 2, 2006
    #2
  3. Thanks, that is exactly the function I have been looking for.
     
    Thomas Ussmueller, May 3, 2006
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.