View=-10,-81,1469,895,0.886271,0,0 Grid=10,10,1 DataSet=*.dat DataDisplay=*.dpl OpenDisplay=0 showFrame=0 FrameText0=Title FrameText1=Drawn By: FrameText2=Date: FrameText3=Revision: GND * 1 580 90 0 0 0 0 Eqn Eqn1 1 380 490 0 8 0 0 "abs_s11_min=min(S[1,1])=" 1 "yes" 0 L L1 1 50 40 10 -26 0 1 "250 nH" 1 "0" 0 "" 0 "SELF-WE-PD3S" 0 Pac P1 1 580 40 18 -26 0 0 "1" 1 "50 Ω" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0 "SUBCLICK" 0 C C1 1 350 40 14 -4 0 3 "16.2 pF" 1 "0" 0 "" 0 "neutral" 0 "SMD0603" 0 L L2 1 470 -30 -26 10 0 0 "390 nH" 1 "0" 0 "" 0 "SELF-WE-PD3S" 0 R R1 1 230 -30 -26 15 0 0 "20/res" 1 "26.85" 0 "european" 0 "SMD0603" 0 Eqn Eqn4 1 560 710 0 8 0 0 "f_min=xvalue(abs(S[1,1]),abs_S11_min)=" 1 "S11_at_min_=yvalue(S[1,1],f_min)=" 1 "yes" 1 .SW SW1 1 40 130 0 63 0 0 "SP1" 1 "res" 1 "lin" 1 "1" 1 "3" 1 "5" 1 .SP SP1 1 220 130 0 65 0 0 "lin" 1 "95MHz" 1 "105MHz" 1 "300" 1 "no" 0 "1" 0 "2" 0 "none" 0 50 90 350 90 "" 0 0 0 "" 50 70 50 90 "" 0 0 0 "" 580 70 580 90 "" 0 0 0 "" 350 90 580 90 "" 0 0 0 "" 350 70 350 90 "" 0 0 0 "" 580 -30 580 10 "" 0 0 0 "" 50 -30 50 10 "" 0 0 0 "" 350 -30 350 10 "" 0 0 0 "" 260 -30 350 -30 "" 0 0 0 "" 50 -30 200 -30 "" 0 0 0 "" 500 -30 580 -30 "" 0 0 0 "" 350 -30 440 -30 "" 0 0 0 "" <"abs_s11_min" "" #0000ff 0 3 1 0 0 0 ""> <"dB(S[1,1])" "" #0000ff 0 3 0 0 0 0 ""> <"S[1,1]" "" #0000ff 0 3 0 5 0 0 ""> Text 378 611 20 #000000 0 Finding the abs-value at the min is easy. \n min() obviously does an abs() before performing the min-search. \n So, how do I get hold of the complex value at the minimum? \n My idea: Text 878 731 20 #000000 0 <- But this does only work with Export=no. Otherwise I get: \n Text 908 771 20 #ff0000 0 Error in 'Eqn4': Unknown variable 'abs_S11_min' \n in equation "xvalue(abs(S[1,1]),abs_S11_min)". Text 38 341 20 #000000 0 I would like to plot on the \n smith chart a dot for every \n S-Param-Sim. It should correspond \n to the abs(S11)-minimum and \n represent the complex value Text 908 831 20 #000000 0 (I need export=yes to plot the value on a diagram)