Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x_up = [1.000000
- 0.995720
- 0.982960
- 0.961940
- 0.933010
- 0.896680
- 0.853550
- 0.804380
- 0.750000
- 0.691340
- 0.629410
- 0.565260
- 0.500000
- 0.434740
- 0.370590
- 0.339280
- 0.308660
- 0.278860
- 0.250000
- 0.222210
- 0.195620
- 0.170330
- 0.146450
- 0.124080
- 0.103320
- 0.084270
- 0.066990
- 0.051560
- 0.038060
- 0.026530
- 0.017040
- 0.009610
- 0.004280
- 0.001070
- 0.000000];
- x_down = [0.000000
- 0.001070
- 0.004280
- 0.009610
- 0.017040
- 0.026530
- 0.038060
- 0.051560
- 0.066990
- 0.084270
- 0.103320
- 0.124080
- 0.146450
- 0.170330
- 0.195620
- 0.222210
- 0.250000
- 0.278860
- 0.308660
- 0.339280
- 0.370590
- 0.434740
- 0.500000
- 0.565260
- 0.629410
- 0.691340
- 0.750000
- 0.804380
- 0.853550
- 0.896680
- 0.933010
- 0.961940
- 0.982960
- 0.995720
- 1.000000];
- y_up = [0.000000
- 0.000570
- 0.002180
- 0.004630
- 0.007700
- 0.011270
- 0.015220
- 0.019450
- 0.023840
- 0.028230
- 0.032470
- 0.036380
- 0.039780
- 0.042480
- 0.044310
- 0.044840
- 0.045090
- 0.045040
- 0.044660
- 0.043970
- 0.042950
- 0.041610
- 0.039940
- 0.037950
- 0.035640
- 0.033050
- 0.030230
- 0.027200
- 0.023950
- 0.020390
- 0.016460
- 0.012140
- 0.007670
- 0.003490
- 0.000000];
- y_down = [ 0.000000
- -0.003490
- -0.007670
- -0.012140
- -0.016460
- -0.020390
- -0.023950
- -0.027200
- -0.030230
- -0.033050
- -0.035640
- -0.037950
- -0.039940
- -0.041610
- -0.042950
- -0.043970
- -0.044660
- -0.045040
- -0.045090
- -0.044840
- -0.044310
- -0.042480
- -0.039780
- -0.036380
- -0.032470
- -0.028230
- -0.023840
- -0.019450
- -0.015220
- -0.011270
- -0.007700
- -0.004630
- -0.002180
- -0.000570
- 0.000000];
- plot(x_up,y_up,'p');
- hold on
- plot(x_down,y_down,'p')
- hold on
- x2_up = 1:-0.01:0;
- x2_down = 0:0.01:1;
- V_up = interp1(x_up,y_up,x2_up);
- plot(x2_up,V_up, 'o');
- V_down = interp1(x_down,y_down,x2_down);
- plot(x2_down,V_down, 'o');
- V_down_inv = fliplr(V_down);
- V = 0.5.*(V_up + V_down_inv);
- plot(x2_up,V);
- reference = [0.0 0.0
- 1.0 0.0];
- plot(reference(:,1),reference(:,2),'k')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement