0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 addpath(genpath('../../General-Functions'))
0017 close all; clearvars;clc
0018 sugr_INIT
0019 plot_init;
0020
0021
0022
0023
0024 in = [1,2]';
0025 x = sugr_Point_2D(in);
0026 sugr_show_Point_2D(x,'x');
0027
0028
0029
0030 in = [1,2,3]';
0031 x = sugr_Point_2D(in);
0032 sugr_show_Point_2D(x,'x');
0033
0034
0035 in = [1,2,0]';
0036 x = sugr_Point_2D(in);
0037 sugr_show_Point_2D(x,'x');
0038
0039
0040 in1 = 1;
0041 in2 = 2;
0042 x = sugr_Point_2D(in1,in2);
0043 sugr_show_Point_2D(x,'x');
0044
0045
0046 in1 = [1,2,2]';
0047 in2 = [1,2,1;2,5,0;1,0,7]*0.01;
0048 x = sugr_Point_2D(in1,in2);
0049 sugr_show_Point_2D(x,'x');
0050
0051
0052 in1 = [3,4,0]';
0053 in2 = [2,2,0;2,6,0;0,0,5];
0054 x = sugr_Point_2D(in1,in2);
0055 sugr_show_Point_2D(x,'x');
0056
0057
0058 in1 = 1;
0059 in2 = 2;
0060 in3 = 2;
0061 x = sugr_Point_2D(in1,in2,in3);
0062 sugr_show_Point_2D(x,'x');
0063
0064
0065 in1 = 1;
0066 in2 = 2;
0067 in3 = 0;
0068 x = sugr_Point_2D(in1,in2,in3);
0069 sugr_show_Point_2D(x,'x');
0070
0071
0072 in1 = 1;
0073 in2 = 2;
0074 in3 = 0.1;
0075 in4 = 0.2;
0076 x = sugr_Point_2D(in1,in2,in3,in4);
0077 sugr_show_Point_2D(x,'x');
0078
0079
0080 in1 = 1;
0081 in2 = 2;
0082 in3 = 2;
0083 in4 = [1,2,1;...
0084 2,5,0;...
0085 1,0,7]*0.0001;
0086 x1 = sugr_Point_2D(in1,in2,in3,in4);
0087 sugr_show_Point_2D(x,'x_1');
0088 figure('Color','w')
0089 sugr_plot_Point_2D(x1,'-k','-b',2,1);
0090 title('Homogeneous uncertain point')
0091 axis equal
0092
0093
0094 in1 = 1;
0095 in2 = 2;
0096 in3 = 0;
0097 in4 = [2,2,1;2,5,0;1,0,7]*0.01;
0098 x = sugr_Point_2D(in1,in2,in3,in4);
0099 sugr_show_Point_2D(x,'x');
0100