Quantcast
Channel: Cadence RF Design Forum
Viewing all articles
Browse latest Browse all 956

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

$
0
0

 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,


Viewing all articles
Browse latest Browse all 956

Trending Articles