0001
0002
0003 ell = [ 4 8 16 32 64 128 256 512 1024 2048 4096 ];
0004 accuracy = [ ...
0005 2.5e-15 ...
0006 3.97e-15 ...
0007 8.0e-15 ...
0008 2.1e-14 ...
0009 4.10e-14 ...
0010 7.32e-14 ...
0011 1.38e-13 ...
0012 2.31e-13 ...
0013 5.2e-13 ...
0014 9.3e-13 ...
0015 2.0e-12 ...
0016 ];
0017 speed = [ ...
0018 0.00019 ...
0019 0.00038 ...
0020 0.00160 ...
0021 0.0060 ...
0022 0.047 ...
0023 0.32 ...
0024 2.5 ...
0025 20.5 ...
0026 195 ...
0027 1750 ...
0028 15000 ...
0029 ];
0030 accuracy_multires = [ ...
0031 2.5e-15 ...
0032 3.91e-15 ...
0033 8.0e-15 ...
0034 2.1e-14 ...
0035 3.97e-14 ...
0036 7.32e-14 ...
0037 1.37e-13 ...
0038 2.37e-13 ...
0039 5.3e-13 ...
0040 9.3e-13 ...
0041 2.0e-12 ...
0042 ];
0043 speed_multires = [ ...
0044 0.00021 ...
0045 0.00040 ...
0046 0.00105 ...
0047 0.00300 ...
0048 0.018 ...
0049 0.1 ...
0050 0.75 ...
0051 5.2 ...
0052 45.0 ...
0053 400 ...
0054 3000 ...
0055 ];
0056 nb_samples = ell;
0057 nb_samples_pow = str2mat('t04', 't08', 't16', 't32', 't64', 't28', 't56', 't12', 't24', 't48', 't96');
0058
0059 figure('Position',[100 100 700 600])
0060
0061 subplot(2,1,1)
0062 loglog( nb_samples, (1e-15)*ell, 'red','LineWidth', 2 )
0063 hold on
0064 loglog( nb_samples, accuracy, '--oblack', 'LineWidth', 2, 'MarkerSize',10)
0065 loglog( nb_samples, accuracy_multires, '-oblack', 'LineWidth', 2, 'MarkerSize',10)
0066 grid on
0067 xlabel('x1','FontSize',20)
0068 ylabel('y1','FontSize',20)
0069 set(gca,'XTick',nb_samples,'XTickLabel',nb_samples_pow,'FontSize',20)
0070 set(gca,'YTick',[1e-16 1e-15 1e-14 1e-13 1e-12 1e-11] ,'FontSize',20)
0071 axis([3e0 5300 1e-15 1e-11])
0072 grid minor
0073
0074
0075 subplot(2,1,2)
0076 loglog( nb_samples, (1e-6)*ell.^3, 'red','LineWidth', 2 )
0077 hold on
0078 loglog( nb_samples, speed, '--oblack', 'LineWidth', 2, 'MarkerSize',10)
0079 loglog( nb_samples, speed_multires, '-oblack', 'LineWidth', 2, 'MarkerSize',10)
0080 grid on
0081 xlabel('x2','FontSize',20)
0082 ylabel('y2','FontSize',20)
0083 axis([3e0 5300 1e-5 1e5])
0084 set(gca,'YTick',[1e-6 1e-4 1e-2 1e0 1e2 1e4 1e6] ,'FontSize',20)
0085 set(gca,'XTick',nb_samples,'XTickLabel',nb_samples_pow,'FontSize',20)
0086 grid minor
0087
0088