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=20*log10(sp(1 1))s11_db20=S11plot(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.
I found the issue with ocnPrint( ). I should have added ?numberNotation before 'scientific.