• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. How to clip the calculator dft() output ?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 63
  • Views 17128
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to clip the calculator dft() output ?

lahsivece
lahsivece over 10 years ago

Hi ,

I am trying to clip the calculator dft function output to extract dft peak value  in that frequency range. Is it possible ? If yes , how to go ahead with this .

How to get  y value at a particular frequency  in the dft plot in ocean?

Please advise.

Regards

Vishal

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Vishal,

    Finding the ymax of the real and the ymax of the imaginary is definitely wrong. There's no guarantee they will be at the same frequency, so the result you get is potentially completely wrong.

    It would be batter to use:

    ymax_tot=ymax(mag(clip_vop_dft))

    However, I don't see why value shouldn't work (it does for me). I'd do:

    mag(value(vop_dft 1.191G))

    The mag function essentially the abs() - which does the sqrt(real**2+imag**2).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Vishal,

    Finding the ymax of the real and the ymax of the imaginary is definitely wrong. There's no guarantee they will be at the same frequency, so the result you get is potentially completely wrong.

    It would be batter to use:

    ymax_tot=ymax(mag(clip_vop_dft))

    However, I don't see why value shouldn't work (it does for me). I'd do:

    mag(value(vop_dft 1.191G))

    The mag function essentially the abs() - which does the sqrt(real**2+imag**2).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information