0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 spear2;
0015
0016
0017 QFI = findcells(THERING,'FamName','QF');
0018
0019 TILTI = QFI([3:7 10:12]);
0020
0021
0022
0023
0024
0025 tilterr = 1*pi/180;
0026 qftilts = tilterr*randn(1,length(TILTI));
0027
0028
0029 settilt(TILTI,qftilts);
0030
0031 NE = length(THERING)+1;
0032 LinOptOutput = linopt(THERING,0,1:NE);
0033
0034
0035 GG = cat(1,LinOptOutput.gamma);
0036 spos = cat(1,LinOptOutput.SPos);
0037 CC = reshape(cat(2,LinOptOutput.C),4,[]);
0038
0039 subplot(2,1,1)
0040 plot(spos,CC(1,:),'.-r')
0041 hold on
0042 plot(spos,CC(2,:),'.-k')
0043 plot(spos,CC(3,:),'.-b')
0044 plot(spos,CC(4,:),'.-g')
0045
0046
0047 SCALE = axis;
0048 SCALE(2) = 0;
0049 SCALE(2) = spos(end);
0050 axis(SCALE);
0051
0052 legend('C_1_1','C_2_1','C_1_2','C_2_2')
0053 title('Elements of coupling matrix C_i_j');
0054 hold off
0055
0056
0057 subplot(2,1,2)
0058 plot(spos,GG,'.-k')
0059 title('Mixing parameter \gamma')
0060
0061
0062 SCALE = axis;
0063 SCALE(1) = 0;
0064 SCALE(2) = spos(end);
0065 axis(SCALE);
0066
0067
0068 legend('\gamma')
0069 xlabel('s - position [m]')