• 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. Ocean script for printing S11 in dB into .csv file in scientific...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 63
  • Views 13164
  • 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

Ocean script for printing S11 in dB into .csv file in scientific format

RFQuery
RFQuery over 13 years ago

 Dear all,

I am trying to print the .sp analysis ( S11) in dB format into a .csv file in scientific format.

The code is as below.

S11=sp(1 1)

S11=20*log10(sp(1 1))

s11_db20=S11
plot(s11_db20)
ocnPrint(?output "./S11.csv"  'scientific s11_db20)

But it is neither converting the S11 into desired dB value ( actually it is plotting correct magnitude value of S11 but it is not giving correct dB values) nor it is printing in scientific format into the file. It is actually printing in default format.

Can anybody please tell how it can be fixed.

Kind regards,

  • Cancel
Parents
  • RFQuery
    RFQuery over 13 years ago

     Dear All,

    I found the issue with ocnPrint( ).  I should have added ?numberNotation before   'scientific.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • RFQuery
    RFQuery over 13 years ago

     Dear All,

    I found the issue with ocnPrint( ).  I should have added ?numberNotation before   'scientific.

    • 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