Combine non integer time steps into daily values

Dear Experts,
I have the following data, which have time and volume (.mat file attached).
time (Days) Volume (L)
0 0
30.6741806 0
1.168E-05 0.006798073
2.2995E-05 0.047292948
4.4165E-05 0.223091253
7.7015E-05 0.833100076
9.636E-05 2.066383935
0.00012045 4.343111658
0.000150745 8.336749383
0.000187975 14.55932459
0.000289445 22.84538025
0.00036135 32.30381193
Unfortunately, the time steps are not consistent, and I would like to group them into values of one day. As volume is linked to those time steps, I can not add the time steps, as they don't sum 1.
With some effort in Excel I could group the values, with their respective proportional volume:
time (Days) Volume (L)
0.97022767 70827.51996
0.02977233 1854.371465
0.07209406 4490.383105
0.7850486 48689.812711
0.1428574 9532.3878414
If I sum the bold and underlined ones, I get tha volume values for 1 day (integer)
time (Days) Volume (L)
1 72681.89142
1 62712.58366
As there are so many values (more than 900), Is it possible to do it on a propper way in MATLAB?
Thank you!
EDITED underlined values

6 comentarios

Torsten
Torsten el 14 de Oct. de 2025
Could you explain more clearly how the time and volume data have to be interpreted ?
Does it mean that
at time 0, the volume is 0 l
after 30,67 days, the volume is still 0 l
after 30,67 + 1.168E-05 days, the volume is 0.006798073 l
after 30,67 + 1.168E-05 + 2.2995E-05 days, the volume is 0.047292948 l
and so on ?
Cristóbal
Cristóbal el 14 de Oct. de 2025
Thank you @Torsten and @Star Strider for the time to answer my question.
Volume is defined for every time step, not cumulative. So as you mention, at time 0 and 30,67 volume is 0, but after time 30,67, during the period of 1.168E-05 days, the volume is 0.006798073. During the next period of 2.2995E-05 is 0.047292948, and after that during the period of 4.4165E-05 is 0.223091253. So the cumulative for those 5 time steps should be a volume of 0.2771822740 L (cumulative volume) in 30.6742594434 days (cumulative time). I made an excel showing the objective (attached), which is to have the volume for time steps of exactly 1 day:
Time (Days) Volume (L)
1 72682
1 62713
1 70863
1 62428
1 65380
1 110768
1 177170
1 150004
1 152585
1 167400
1 178340
1 161619
1 156744
1 150276
1 155476
1 188292
1 215132
I believe the problem is too hard to code, as unfortunately the data sometimes is less than a day and in other parts is more than a day. Anyway, any suggestion is more than welcome, and again many thanks for your time.
Star Strider
Star Strider el 14 de Oct. de 2025
Editada: Star Strider el 14 de Oct. de 2025
I am still lost.
I still have no idea what you want.
How did you do that calculation in Excel? What did you calculate? (It should be straightforward to do the same or equivalent calculatin in MATLAB.)
EDIT --
I looked at the Excel file and still cannot make any sense of it.
(I am using Ubuntu Linux, so I do not have access to Excel. I cannot see how you did those calculations.)
.
Cristóbal
Cristóbal el 14 de Oct. de 2025
The volume values are not for 1 day exactly. They are for a fraction of a day (and sometimes for more than a day). I want to group them so they correspond to the value of 1 day exactly, and consequently the volume proprotionally assoicated. I attach a prt screen of the calculations (timestepimage1.png). The issue is there are some steps that sometimes are grouped as 3 values (orange) and other times as 2 values (green):
If I make the sum of time column, I get 1 day. If I sum the volume column I get the volume for that day.
For the orange case is 12314+43501+9565=65380 and for the green case is 85250+70226=155476
I hope this can clarify. Thank you!
Star Strider
Star Strider el 14 de Oct. de 2025
Editada: Star Strider el 15 de Oct. de 2025
I cannot make any sense of that.
How did you decide on those particular values and ranges?
What criteria define the 'time' ranges?
(I experimented by summing the consecutive time values using cumsum and then summing the volume values that corresponded to the first time sum that was less than or equal to 1. My results were not at all similar to yours.)
EDIT --
I am giving up on even trying to understand this.
I have deleted my Answer.
.
Cristóbal
Cristóbal el 15 de Oct. de 2025
Ranges are given by the sum until I reach 1, beginning from 1.168E-5 as the previous value 30.6741806 has no volume.
For the 49 values that follows 30.6741806, I sum all the 49 values (rows 4 to 52 in Excel file): 1.168E-5 + 2.2995E-5 + 4.4165E-5 + ... + 0.084265725 + 0.092457785 = 0.97022767
The next value (row 53 in Excel file) is 0.10186639, but I can't add it to the result 0.97022767 as it gives a number greater than 1 (1.07209406). So, instead, I just take the part of 0.10186639 I need to reach 1, that is 0.02977233.
So 0.97022767 + 0.02977233 = 1 day.
Associated volume for each row is added or taken proportional, so I have the volume for that 1 day.
The remaining of the value 0.10186639, that is 0.07209406 is used in the following group. So I have that, and I have the sum of row 54 to 59 (0.10856925 + 0.1156904 + ... + 0.146811395 + 0.1513363 = 0.7850486).
Those two again gives less than 1 when added: 0.07209406 + 0.7850486 = 0.8571426
So I take the proportion of the following row, as again if I used the complete value gives a number greater than 1. Row 60 is 0.152159375, so I take only 0.1428574 because
0.07209406 + 0.7850486 + 0.1428574 = 1 day
The remaining of the value 0.152159375, that is 0.0093020 is used in the following group. And again, associated volume for each row is added or taken proportional, so I have the volume for that 1 day.
I hope this clarify something. Thank you for taking the time to analyse this =)

Iniciar sesión para comentar.

Respuestas (1)

Torsten
Torsten el 15 de Oct. de 2025
Editada: Torsten el 15 de Oct. de 2025
Looking at the volume values, I'm almost sure that these values are already cumulative values. Why should the increase in volume for later times take such enormous values within relatively small timespans ? But I compute both variants below.
Thus use "cumsum" for the first column of your data to determine the actual time and leave the second column as is or also apply cumsum to it. Then use interp1 to interpolate the actual value for the volume to daily values.
LD = load('timesteps.mat');
Tcum = cumsum(LD.time);
V = LD.volume;
Vcum = cumsum(LD.volume);
T_dayly = Tcum(1):floor(Tcum(end));
V_dayly = interp1(Tcum,V,T_dayly);
Vcum_dayly = interp1(Tcum,Vcum,T_dayly);
figure(1)
plot(T_dayly,V_dayly)
grid on
figure(2)
plot(T_dayly,Vcum_dayly)
grid on

7 comentarios

Cristóbal
Cristóbal el 15 de Oct. de 2025
You are correct. Volume values are cumulative. I made an involuntary mistake, because I wanted to say time wasn't cumulative. At the end of the period of 10942.5 days, cumulative volume should be 11406739.58.
Anyway, I create another column (C) with non cumulative volume associated to each Excel row, calculating the daily volume values for 1 day exact, giving this:
Time (Days) Daily Volume (L)
0 0
30.6741806 0
1 6039
1 4077
1 4086
1 4341
1 4677
1 5060
1 5516
1 6040
I attach the Excel so you can see (timestep2). Thank you!
Umar
Umar el 15 de Oct. de 2025
Editada: Torsten el 15 de Oct. de 2025
Hi @Cristóbal,
Thanks for the clarification and the timestep2.xlsx file! So the volume values are cumulative - that changes everything and makes this much simpler. @Torsten caught that right away by noticing the enormous volume jumps didn't make physical sense for such small time intervals.
Looking at your Excel file, I can see you manually calculated the daily volumes by grouping time steps until they sum to exactly 1 day, then proportionally distributing the volumes. The final cumulative volume of 11,406,739.58 L over ~10,942 days is what we should match.
So the actual problem is:
* Time values are NOT cumulative (they're individual time steps)
* Volume values ARE cumulative
* You want daily interpolated values that match your Excel calculation
Here's the corrected approach building on what @Torsten started:
% Load your data
load('timesteps.mat');
% Calculate cumulative time (since your time column is individual steps)
Tcum = cumsum(time);
% Volume is already cumulative, so use as-is
Vcum = volume;
% Calculate daily volume differences to get non-cumulative daily volumes
% First, interpolate cumulative volume at daily intervals
T_daily = 0:1:floor(Tcum(end));
Vcum_daily = interp1(Tcum, Vcum, T_daily, 'linear');
% Convert cumulative to daily increments
V_daily = diff(Vcum_daily);
T_daily_increments = T_daily(2:end); % Time vector for increments
% Display results
results_table = table(T_daily_increments', V_daily', ...
'VariableNames', {'Time_Days', 'Daily_Volume_L'});
disp(results_table);
Time_Days Daily_Volume_L _________ ______________ 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 2687.6 32 4708.7 33 4029.5 34 4156.8 35 4445.4 36 4794.4 37 5198.5 38 5684.8 39 6217.3 40 6799.7 41 7482.1 42 8211.2 43 8958.1 44 9671.3 45 10343 46 10871 47 11388 48 11939 49 12490 50 13070 51 13606 52 14171 53 14829 54 15451 55 16084 56 16691 57 17469 58 18089 59 18739 60 19409 61 20090 62 20786 63 21271 64 22021 65 22757 66 23450 67 24202 68 24783 69 25451 70 25950 71 26429 72 26882 73 27218 74 27498 75 27719 76 27881 77 28021 78 28147 79 28251 80 28340 81 28414 82 28470 83 28511 84 28537 85 28549 86 28550 87 28546 88 28572 89 28536 90 28505 91 28459 92 28472 93 28480 94 28504 95 28506 96 28516 97 28516 98 28045 99 27396 100 27280 101 27144 102 26970 103 26748 104 26483 105 26144 106 25801 107 25415 108 25063 109 24687 110 24366 111 24046 112 23730 113 23432 114 23145 115 22909 116 22509 117 22247 118 21936 119 21604 120 21246 121 20969 122 20523 123 20470 124 19839 125 19839 126 19441 127 19159 128 19159 129 18689 130 18526 131 18526 132 18100 133 17981 134 17829 135 17482 136 17482 137 17052 138 16997 139 16937 140 16565 141 16565 142 16380 143 16180 144 16165 145 15796 146 15796 147 15714 148 15443 149 15443 150 15272 151 15080 152 15080 153 14878 154 14730 155 14730 156 14548 157 14392 158 14392 159 14220 160 14052 161 14052 162 13978 163 13747 164 13747 165 13658 166 13469 167 13469 168 13334 169 13210 170 13210 171 13028 172 12959 173 12959 174 12808 175 12722 176 12620 177 12526 178 12442 179 12332 180 12262 181 12188 182 12098 183 12005 184 11940 185 11858 186 11785 187 11725 188 11644 189 11585 190 11522 191 11444 192 11404 193 11312 194 11275 195 11182 196 11151 197 11052 198 11042 199 10931 200 10926 201 10822 202 10801 203 10723 204 10678 205 10634 206 10554 207 10519 208 10463 209 10410 210 10375 211 10315 212 10263 213 10239 214 10162 215 10149 216 10078 217 10067 218 9984.3 219 9984.3 220 9903.8 221 9873.5 222 9873.5 223 9770.2 224 9735.4 225 9735.4 226 9731.3 227 9569.1 228 9569.1 229 9569.1 230 9569.1 231 9495.6 232 9371 233 9371 234 9371 235 9371 236 9371 237 9249.7 238 9151.9 239 9151.9 240 9151.9 241 9151.9 242 9151.9 243 9138.3 244 8924.8 245 8924.8 246 8924.8 247 8924.8 248 8924.8 249 8924.8 250 8831.7 251 8697.8 252 8697.8 253 8697.8 254 8697.8 255 8697.8 256 8697.8 257 8532.1 258 8469.1 259 8469.1 260 8469.1 261 8469.1 262 8469.1 263 8469.1 264 8404.4 265 8237.7 266 8237.7 267 8237.7 268 8237.7 269 8237.7 270 8237.7 271 8237.7 272 8126.5 273 8009.4 274 8009.4 275 8009.4 276 8009.4 277 8009.4 278 8009.4 279 8009.4 280 7976.7 281 7768.8 282 7768.8 283 7768.8 284 7768.8 285 7768.8 286 7768.8 287 7768.8 288 7768.8 289 7768.8 290 7694.9 291 7517 292 7517 293 7517 294 7517 295 7517 296 7517 297 7517 298 7517 299 7517 300 7517 301 7517 302 7263.8 303 7252.5 304 7252.5 305 7252.5 306 7252.5 307 7252.5 308 7252.5 309 7252.5 310 7252.5 311 7252.5 312 7252.5 313 7252.5 314 7239.9 315 6993.8 316 6993.8 317 6993.8 318 6993.8 319 6993.8 320 6993.8 321 6993.8 322 6993.8 323 6993.8 324 6993.8 325 6993.8 326 6993.8 327 6943.8 328 6757.9 329 6757.9 330 6757.9 331 6757.9 332 6757.9 333 6757.9 334 6757.9 335 6757.9 336 6757.9 337 6757.9 338 6757.9 339 6757.9 340 6551.5 341 6537.5 342 6537.5 343 6537.5 344 6537.5 345 6537.5 346 6537.5 347 6537.5 348 6537.5 349 6537.5 350 6537.5 351 6537.5 352 6537.5 353 6343.7 354 6326.7 355 6326.7 356 6326.7 357 6326.7 358 6326.7 359 6326.7 360 6326.7 361 6326.7 362 6326.7 363 6326.7 364 6326.7 365 6326.7 366 6326.7 367 6120.1 368 6116.4 369 6116.4 370 6116.4 371 6116.4 372 6116.4 373 6116.4 374 6116.4 375 6116.4 376 6116.4 377 6116.4 378 6116.4 379 6116.4 380 6116.4 381 6116.4 382 5934.7 383 5910 384 5910 385 5910 386 5910 387 5910 388 5910 389 5910 390 5910 391 5910 392 5910 393 5910 394 5910 395 5910 396 5910 397 5751.4 398 5713 399 5713 400 5713 401 5713 402 5713 403 5713 404 5713 405 5713 406 5713 407 5713 408 5713 409 5713 410 5713 411 5713 412 5636.6 413 5523.2 414 5523.2 415 5523.2 416 5523.2 417 5523.2 418 5523.2 419 5523.2 420 5523.2 421 5523.2 422 5523.2 423 5523.2 424 5523.2 425 5523.2 426 5523.2 427 5523.2 428 5523.2 429 5367 430 5336.4 431 5336.4 432 5336.4 433 5336.4 434 5336.4 435 5336.4 436 5336.4 437 5336.4 438 5336.4 439 5336.4 440 5336.4 441 5336.4 442 5336.4 443 5336.4 444 5336.4 445 5336.4 446 5274 447 5151.1 448 5151.1 449 5151.1 450 5151.1 451 5151.1 452 5151.1 453 5151.1 454 5151.1 455 5151.1 456 5151.1 457 5151.1 458 5151.1 459 5151.1 460 5151.1 461 5151.1 462 5151.1 463 5151.1 464 5151.1 465 5123.7 466 4966.2 467 4966.2 468 4966.2 469 4966.2 470 4966.2 471 4966.2 472 4966.2 473 4966.2 474 4966.2 475 4966.2 476 4966.2 477 4966.2 478 4966.2 479 4966.2 480 4966.2 481 4966.2 482 4966.2 483 4966.2 484 4966.2 485 4966.2 486 4863.8 487 4785.7 488 4785.7 489 4785.7 490 4785.7 491 4785.7 492 4785.7 493 4785.7 494 4785.7 495 4785.7 496 4785.7 497 4785.7 498 4785.7 499 4785.7 500 4785.7 501 4785.7 502 4785.7 503 4785.7 504 4785.7 505 4785.7 506 4785.7 507 4693.6 508 4642.3 509 4642.3 510 4642.3 511 4642.3 512 4642.3 513 4612.6 514 4589.3 515 4589.3 516 4589.3 517 4589.3 518 4589.3 519 4574 520 4537.5 521 4537.5 522 4537.5 523 4537.5 524 4537.5 525 4537.5 526 4495.3 527 4487.4 528 4487.4 529 4487.4 530 4487.4 531 4487.4 532 4477.6 533 4437.2 534 4437.2 535 4437.2 536 4437.2 537 4437.2 538 4437.2 539 4419.6 540 4387.1 541 4387.1 542 4387.1 543 4387.1 544 4387.1 545 4387.1 546 4372 547 4336.7 548 4336.7 549 4336.7 550 4336.7 551 4336.7 552 4336.7 553 4334.8 554 4286.2 555 4286.2 556 4286.2 557 4286.2 558 4286.2 559 4286.2 560 4286.2 561 4253.3 562 4236 563 4236 564 4236 565 4236 566 4236 567 4236 568 4226.8 569 4187.3 570 4187.3 571 4187.3 572 4187.3 573 4187.3 574 4187.3 575 4179.3 576 4142.3 577 4142.3 578 4142.3 579 4142.3 580 4142.3 581 4142.3 582 4116.9 583 4101.4 584 4101.4 585 4101.4 586 4101.4 587 4101.4 588 4075.2 589 4064.9 590 4064.9 591 4064.9 592 4064.9 593 4052.5 594 4032.6 595 4032.6 596 4032.6 597 4032.6 598 4019.1 599 4002.8 600 4002.8 601 4002.8 602 4002.8 603 3980.6 604 3975 605 3975 606 3975 607 3971.5 608 3947.2 609 3947.2 610 3947.2 611 3947.2 612 3938.8 613 3919 614 3919 615 3919 616 3919 617 3916.5 618 3888.6 619 3888.6 620 3888.6 621 3888.6 622 3888.6 623 3877.9 624 3855.8 625 3855.8 626 3855.8 627 3855.8 628 3855.8 629 3853.5 630 3820.6 631 3820.6 632 3820.6 633 3820.6 634 3820.6 635 3820.6 636 3811 637 3783.4 638 3783.4 639 3783.4 640 3783.4 641 3783.4 642 3783.4 643 3769.8 644 3746.3 645 3746.3 646 3746.3 647 3746.3 648 3746.3 649 3746.3 650 3729.4 651 3710.2 652 3710.2 653 3710.2 654 3710.2 655 3710.2 656 3707.4 657 3677.2 658 3677.2 659 3677.2 660 3677.2 661 3677.2 662 3671.7 663 3647.5 664 3647.5 665 3647.5 666 3647.5 667 3647.5 668 3622.2 669 3621.4 670 3621.4 671 3621.4 672 3614.5 673 3598.6 674 3598.6 675 3598.6 676 3598.6 677 3577.6 678 3577.5 679 3577.5 680 3577.5 681 3559.3 682 3558 683 3558 684 3558 685 3541.4 686 3538.3 687 3538.3 688 3538.3 689 3526.1 690 3518.2 691 3518.2 692 3518.2 693 3517.1 694 3496.9 695 3496.3 696 3487.7 697 3487.7 698 3480.5 699 3476.6 700 3476.6 701 3467.7 702 3462.7 703 3462.7 704 3462.7 705 3447.5 706 3445.4 707 3445.4 708 3445.4 709 3441.7 710 3423.8 711 3423.8 712 3423.8 713 3423.8 714 3423.8 715 3416 716 3397 717 3397 718 3397 719 3397 720 3397 721 3397 722 3397 723 3365.6 724 3363.9 725 3363.9 726 3363.9 727 3363.9 728 3363.9 729 3363.9 730 3363.9 731 3363.9 732 3332.7 733 3323.3 734 3323.3 735 3323.3 736 3323.3 737 3323.3 738 3323.3 739 3323.3 740 3323.3 741 3323.3 742 3323.3 743 3293.9 744 3275 745 3275 746 3275 747 3275 748 3275 749 3275 750 3275 751 3275 752 3275 753 3275 754 3275 755 3275 756 3234.1 757 3221.2 758 3221.2 759 3221.2 760 3221.2 761 3221.2 762 3221.2 763 3221.2 764 3221.2 765 3221.2 766 3221.2 767 3221.2 768 3221.2 769 3221.2 770 3181.1 771 3164 772 3164 773 3164 774 3164 775 3164 776 3164 777 3164 778 3164 779 3164 780 3164 781 3160.3 782 3118.5 783 3118.5 784 3118.5 785 3118.5 786 3118.5 787 3118.5 788 3118.5 789 3118.5 790 3096.2 791 3087.1 792 3087.1 793 3087.1 794 3087.1 795 3087.1 796 3082.5 797 3063.4 798 3063.4 799 3063.4 800 3063.4 801 3063.4 802 3063.4 803 3041.8 804 3041.2 805 3041.2 806 3041.2 807 3041.2 808 3041.2 809 3021.4 810 3019.3 811 3019.3 812 3019.3 813 3019.3 814 3015.1 815 2999.3 816 2999.3 817 2999.3 818 2999.3 819 2999.3 820 2982.6 821 2980.5 822 2980.5 823 2980.5 824 2980.5 825 2964.5 826 2963.6 827 2963.6 828 2963.6 829 2959.4 830 2947.5 831 2947.5 832 2947.5 833 2947.5 834 2935.7 835 2932.5 836 2932.5 837 2932.5 838 2926.4 839 2917.8 840 2917.8 841 2917.8 842 2916.5 843 2903.6 844 2903.6 845 2903.6 846 2903.6 847 2892.9 848 2889.2 849 2889.2 850 2889.2 851 2884.7 852 2874.9 853 2874.9 854 2874.9 855 2874.9 856 2863.1 857 2860.2 858 2860.2 859 2860.2 860 2857.8 861 2845.5 862 2845.5 863 2845.5 864 2845.5 865 2838.8 866 2830.5 867 2830.5 868 2830.5 869 2830.5 870 2820.9 871 2815.3 872 2815.3 873 2815.3 874 2815.3 875 2803.3 876 2800.1 877 2800.1 878 2800.1 879 2800.1 880 2783.2 881 2779.2 882 2777.1 883 2774.6 884 2771.6 885 2770.5 886 2766.1 887 2766.1 888 2760.8 889 2760.1 890 2758.8 891 2752.4 892 2752.4 893 2752.4 894 2744.6 895 2742.6 896 2742.6 897 2742.6 898 2735.5 899 2730.3 900 2730.3 901 2730.3 902 2730.3 903 2725.8 904 2714.9 905 2714.9 906 2714.9 907 2714.9 908 2714.9 909 2714.9 910 2701.5 911 2695.6 912 2695.6 913 2695.6 914 2695.6 915 2695.6 916 2695.6 917 2695.6 918 2685 919 2671.8 920 2671.8 921 2671.8 922 2671.8 923 2671.8 924 2671.8 925 2671.8 926 2671.8 927 2671.8 928 2667.8 929 2641.7 930 2641.7 931 2641.7 932 2641.7 933 2641.7 934 2641.7 935 2641.7 936 2641.7 937 2641.7 938 2641.7 939 2641.7 940 2641.7 941 2613.5 942 2607.2 943 2607.2 944 2607.2 945 2607.2 946 2607.2 947 2607.2 948 2607.2 949 2607.2 950 2607.2 951 2607.2 952 2607.2 953 2607.2 954 2607.2 955 2607.2 956 2565 957 2564.8 958 2564.8 959 2564.8 960 2564.8 961 2564.8 962 2564.8 963 2564.8 964 2564.8 965 2564.8 966 2564.8 967 2564.8 968 2564.8 969 2564.8 970 2564.8 971 2563 972 2520.3 973 2520.3 974 2520.3 975 2520.3 976 2520.3 977 2520.3 978 2520.3 979 2520.3 980 2520.3 981 2520.3 982 2520.3 983 2520.3 984 2520.3 985 2520.3 986 2491.6 987 2481.9 988 2481.9 989 2481.9 990 2481.9 991 2481.9 992 2481.9 993 2481.9 994 2481.9 995 2481.9 996 2481.9 997 2481.9 998 2481.9 999 2481.9 1000 2451.6 1001 2445.5 1002 2445.5 1003 2445.5 1004 2445.5 1005 2445.5 1006 2445.5 1007 2445.5 1008 2445.5 1009 2445.5 1010 2445.5 1011 2445.5 1012 2440.6 1013 2411.3 1014 2411.3 1015 2411.3 1016 2411.3 1017 2411.3 1018 2411.3 1019 2411.3 1020 2411.3 1021 2411.3 1022 2402 1023 2387.1 1024 2387.1 1025 2387.1 1026 2387.1 1027 2387.1 1028 2387.1 1029 2387.1 1030 2381.7 1031 2369.5 1032 2369.5 1033 2369.5 1034 2369.5 1035 2369.5 1036 2369.5 1037 2369.5 1038 2369.5 1039 2369.5 1040 2353.8 1041 2348.4 1042 2348.4 1043 2348.4 1044 2348.4 1045 2348.4 1046 2348.4 1047 2348.4 1048 2348.4 1049 2348.4 1050 2348.4 1051 2332.4 1052 2320.9 1053 2320.9 1054 2320.9 1055 2320.9 1056 2320.9 1057 2320.9 1058 2320.9 1059 2320.9 1060 2320.9 1061 2309.9 1062 2290.5 1063 2290.5 1064 2286.9 1065 2285.8 1066 2285.7 1067 2281.3 1068 2281.3 1069 2281.3 1070 2277 1071 2275.2 1072 2275.2 1073 2275.2 1074 2270.6 1075 2267.5 1076 2267.5 1077 2267.5 1078 2267.5 1079 2261 1080 2257.6 1081 2257.6 1082 2257.6 1083 2257.6 1084 2257.6 1085 2248.4 1086 2245.2 1087 2245.2 1088 2245.2 1089 2245.2 1090 2245.2 1091 2243.4 1092 2230.6 1093 2230.6 1094 2230.6 1095 2230.6 1096 2230.6 1097 2230.6 1098 2225.5 1099 2216 1100 2216 1101 2216 1102 2216 1103 2216 1104 2216 1105 2208.4 1106 2201.2 1107 2201.2 1108 2201.2 1109 2201.2 1110 2201.2 1111 2201.2 1112 2192.6 1113 2186.8 1114 2186.8 1115 2186.8 1116 2186.8 1117 2186.8 1118 2186.8 1119 2178.4 1120 2172.1 1121 2172.1 1122 2172.1 1123 2172.1 1124 2172.1 1125 2172.1 1126 2166.8 1127 2157.6 1128 2157.6 1129 2157.6 1130 2157.6 1131 2157.6 1132 2157.6 1133 2157.6 1134 2142.6 1135 2142.4 1136 2142.4 1137 2142.4 1138 2142.4 1139 2142.4 1140 2142.4 1141 2135.9 1142 2127.3 1143 2127.3 1144 2127.3 1145 2127.3 1146 2127.3 1147 2127.3 1148 2127.3 1149 2116 1150 2111.2 1151 2111.2 1152 2111.2 1153 2111.2 1154 2111.2 1155 2111.2 1156 2111.2 1157 2099.3 1158 2095.3 1159 2095.3 1160 2095.3 1161 2095.3 1162 2095.3 1163 2095.3 1164 2095.3 1165 2085.7 1166 2078.7 1167 2078.7 1168 2078.7 1169 2078.7 1170 2078.7 1171 2078.7 1172 2078.7 1173 2075.3 1174 2061.8 1175 2061.8 1176 2061.8 1177 2061.8 1178 2061.8 1179 2061.8 1180 2061.8 1181 2061.8 1182 2051.2 1183 2044.6 1184 2044.6 1185 2044.6 1186 2044.6 1187 2044.6 1188 2044.6 1189 2044.6 1190 2044.6 1191 2030.8 1192 2027.4 1193 2027.4 1194 2027.4 1195 2027.4 1196 2027.4 1197 2027.4 1198 2027.4 1199 2027.4 1200 2014.1 1201 2009.4 1202 2009.4 1203 2009.4 1204 2009.4 1205 2009.4 1206 2009.4 1207 2009.4 1208 2009.4 1209 2001.5 1210 1991.5 1211 1991.5 1212 1991.5 1213 1991.5 1214 1991.5 1215 1991.5 1216 1991.5 1217 1991.5 1218 1991.5 1219 1974.9 1220 1973.2 1221 1973.2 1222 1973.2 1223 1973.2 1224 1973.2 1225 1973.2 1226 1973.2 1227 1973.2 1228 1971.1 1229 1954.8 1230 1954.8 1231 1954.8 1232 1954.8 1233 1954.8 1234 1954.8 1235 1954.8 1236 1954.8 1237 1954.8 1238 1947.2 1239 1937.2 1240 1937.2 1241 1937.2 1242 1937.2 1243 1937.2 1244 1937.2 1245 1937.2 1246 1937.2 1247 1937.2 1248 1926 1249 1910.5 1250 1909.6 1251 1908.8 1252 1907.2 1253 1906.6 1254 1904.9 1255 1904.7 1256 1902.1 1257 1902.1 1258 1900.8 1259 1898.3 1260 1898.3 1261 1898.3 1262 1893.9 1263 1893.5 1264 1893.5 1265 1893.5 1266 1889.5 1267 1887.2 1268 1887.2 1269 1887.2 1270 1887.2 1271 1884.8 1272 1879.1 1273 1879.1 1274 1879.1 1275 1879.1 1276 1879.1 1277 1879.1 1278 1872.5 1279 1868.4 1280 1868.4 1281 1868.4 1282 1868.4 1283 1868.4 1284 1868.4 1285 1868.4 1286 1864.6 1287 1854.4 1288 1854.4 1289 1854.4 1290 1854.4 1291 1854.4 1292 1854.4 1293 1854.4 1294 1854.4 1295 1854.4 1296 1854.4 1297 1839.6 1298 1836.7 1299 1836.7 1300 1836.7 1301 1836.7 1302 1836.7 1303 1836.7 1304 1836.7 1305 1836.7 1306 1836.7 1307 1836.7 1308 1836.7 1309 1818.1 1310 1814.7 1311 1814.7 1312 1814.7 1313 1814.7 1314 1814.7 1315 1814.7 1316 1814.7 1317 1814.7 1318 1814.7 1319 1814.7 1320 1797.3 1321 1795.2 1322 1795.2 1323 1795.2 1324 1795.2 1325 1795.2 1326 1795.2 1327 1795.2 1328 1795.2 1329 1795.2 1330 1788.5 1331 1778.4 1332 1778.4 1333 1778.4 1334 1778.4 1335 1778.4 1336 1778.4 1337 1778.4 1338 1778.4 1339 1778.4 1340 1778.4 1341 1778.4 1342 1778.4 1343 1772.7 1344 1757.8 1345 1757.8 1346 1757.8 1347 1757.8 1348 1757.8 1349 1757.8 1350 1757.8 1351 1757.8 1352 1757.8 1353 1757.8 1354 1757.8 1355 1757.8 1356 1757.8 1357 1757.8 1358 1757.8 1359 1754.5 1360 1729.4 1361 1729.4 1362 1729.4 1363 1729.4 1364 1729.4 1365 1729.4 1366 1729.4 1367 1729.4 1368 1729.4 1369 1729.4 1370 1729.4 1371 1729.4 1372 1729.4 1373 1729.4 1374 1714.9 1375 1705.7 1376 1705.7 1377 1705.7 1378 1705.7 1379 1705.7 1380 1705.7 1381 1705.7 1382 1705.7 1383 1705.7 1384 1705.7 1385 1705.7 1386 1705.7 1387 1705.7 1388 1686.5 1389 1686.3 1390 1686.3 1391 1686.3 1392 1686.3 1393 1686.3 1394 1686.3 1395 1686.3 1396 1686.3 1397 1686.3 1398 1686.3 1399 1686.3 1400 1686.3 1401 1686.3 1402 1686.3 1403 1686.3 1404 1686.3 1405 1662.4 1406 1661.7 1407 1661.7 1408 1661.7 1409 1661.7 1410 1661.7 1411 1661.7 1412 1661.7 1413 1661.7 1414 1661.7 1415 1661.7 1416 1661.7 1417 1661.7 1418 1661.7 1419 1661.7 1420 1661.7 1421 1661.7 1422 1661.7 1423 1661.7 1424 1661.7 1425 1644.7 1426 1622.1 1427 1622.1 1428 1622.1 1429 1622.1 1430 1622.1 1431 1622.1 1432 1622.1 1433 1610.2 1434 1609 1435 1609 1436 1606 1437 1605.6 1438 1605.6 1439 1602.7 1440 1602 1441 1602 1442 1599.6 1443 1598.1 1444 1598.1 1445 1596.8 1446 1594 1447 1594 1448 1594 1449 1590.1 1450 1589.8 1451 1589.8 1452 1587.9 1453 1585.5 1454 1585.5 1455 1585.5 1456 1581.6 1457 1580.9 1458 1580.9 1459 1580.2 1460 1576.1 1461 1576.1 1462 1576.1 1463 1574.5 1464 1571.2 1465 1571.2 1466 1571.2 1467 1569.1 1468 1566.1 1469 1566.1 1470 1566.1 1471 1564.1 1472 1560.7 1473 1560.7 1474 1560.7 1475 1559.5 1476 1555 1477 1555 1478 1555 1479 1555 1480 1549.7 1481 1549.2 1482 1549.2 1483 1549.2 1484 1546.2 1485 1543.3 1486 1543.3 1487 1543.3 1488 1543.3 1489 1537.6 1490 1537.3 1491 1537.3 1492 1537.3 1493 1535.7 1494 1531.1 1495 1531.1 1496 1531.1 1497 1531.1 1498 1528.4 1499 1524.8 1500 1524.8 1501 1524.8 1502 1524.8 1503 1521.8 1504 1518.3 1505 1518.3 1506 1518.3 1507 1518.3 1508 1516.1 1509 1511.5 1510 1511.5 1511 1511.5 1512 1511.5 1513 1511.1 1514 1504.6 1515 1504.6 1516 1504.6 1517 1504.6 1518 1504.6 1519 1500.2 1520 1497.5 1521 1497.5 1522 1497.5 1523 1497.5 1524 1497.4 1525 1490.4 1526 1490.4 1527 1490.4 1528 1490.4 1529 1490.4 1530 1488.5 1531 1483 1532 1483 1533 1483 1534 1483 1535 1483 1536 1480.6 1537 1475.4 1538 1475.4 1539 1475.4 1540 1475.4 1541 1475.4 1542 1473.9 1543 1467.6 1544 1467.6 1545 1467.6 1546 1467.6 1547 1467.6 1548 1467.6 1549 1460.7 1550 1459.9 1551 1459.9 1552 1459.9 1553 1459.9 1554 1459.9 1555 1456.7 1556 1451.9 1557 1451.9 1558 1451.9 1559 1451.9 1560 1451.9 1561 1451.9 1562 1446.1 1563 1444 1564 1444 1565 1444 1566 1444 1567 1444 1568 1444 1569 1437 1570 1435.7 1571 1435.7 1572 1435.7 1573 1435.7 1574 1435.7 1575 1435.7 1576 1430.1 1577 1428.3 1578 1428.3 1579 1428.3 1580 1428.3 1581 1428.3 1582 1428.3 1583 1428.3 1584 1428.3 1585 1419.8 1586 1418.7 1587 1418.7 1588 1418.7 1589 1418.7 1590 1418.7 1591 1418.7 1592 1418.7 1593 1418.7 1594 1418.7 1595 1418.7 1596 1409.2 1597 1406.9 1598 1406.9 1599 1406.9 1600 1406.9 1601 1406.9 1602 1406.9 1603 1406.9 1604 1406.9 1605 1406.9 1606 1406.9 1607 1406.9 1608 1406.9 1609 1406.9 1610 1388.4 1611 1387.5 1612 1387.5 1613 1387.5 1614 1387.5 1615 1387.5 1616 1387.5 1617 1387.5 1618 1384.3 1619 1379.4 1620 1379.4 1621 1379.4 1622 1379.4 1623 1379.4 1624 1379.4 1625 1379.4 1626 1379.4 1627 1379.4 1628 1379.4 1629 1371.7 1630 1368.5 1631 1368.5 1632 1368.5 1633 1368.5 1634 1368.5 1635 1368.5 1636 1368.5 1637 1368.5 1638 1368.5 1639 1368.5 1640 1368.5 1641 1368.5 1642 1361.4 1643 1347.4 1644 1347.4 1645 1345.9 1646 1345.2 1647 1345.2 1648 1342.9 1649 1342.7 1650 1342.5 1651 1340 1652 1340 1653 1339.6 1654 1337.1 1655 1337.1 1656 1335.5 1657 1332.3 1658 1331.5 1659 1330.7 1660 1329.7 1661 1329 1662 1327.9 1663 1327.3 1664 1326.3 1665 1325.3 1666 1324.3 1667 1323.7 1668 1322.8 1669 1321.8 1670 1321 1671 1320 1672 1319.3 1673 1318.1 1674 1317.3 1675 1316.4 1676 1315.5 1677 1313.6 1678 1312.7 1679 1311.8 1680 1311 1681 1309.8 1682 1308.8 1683 1307.9 1684 1307 1685 1306.1 1686 1305.1 1687 1304.5 1688 1303.7 1689 1303.1 1690 1302.3 1691 1301.3 1692 1301 1693 1299.6 1694 1299.5 1695 1298.1 1696 1297.4 1697 1297.4 1698 1295 1699 1294.7 1700 1294.7 1701 1293.4 1702 1291 1703 1291 1704 1291 1705 1291 1706 1286.8 1707 1286.5 1708 1286.5 1709 1286.5 1710 1286.5 1711 1284.1 1712 1280.9 1713 1280.9 1714 1280.9 1715 1280.9 1716 1280.9 1717 1280.9 1718 1276.9 1719 1273.6 1720 1273.6 1721 1273.6 1722 1273.6 1723 1273.6 1724 1273.6 1725 1273.6 1726 1266.3 1727 1265.5 1728 1265.5 1729 1265.5 1730 1265.5 1731 1265.5 1732 1265.5 1733 1265.5 1734 1259 1735 1257.8 1736 1257.8 1737 1257.8 1738 1257.8 1739 1257.8 1740 1257.8 1741 1257.8 1742 1257.8 1743 1257.8 1744 1250.2 1745 1248.2 1746 1248.2 1747 1248.2 1748 1248.2 1749 1248.2 1750 1248.2 1751 1248.2 1752 1248.2 1753 1248.2 1754 1248.2 1755 1248.2 1756 1245.6 1757 1236.4 1758 1236.4 1759 1236.4 1760 1236.4 1761 1236.4 1762 1236.4 1763 1236.4 1764 1236.4 1765 1236.4 1766 1236.4 1767 1236.4 1768 1236.4 1769 1236.4 1770 1236.4 1771 1236.4 1772 1226.7 1773 1217.3 1774 1217.3 1775 1217.3 1776 1217.3 1777 1217.3 1778 1217.3 1779 1217.3 1780 1212.7 1781 1210.3 1782 1210.3 1783 1210.3 1784 1210.3 1785 1210.3 1786 1210.3 1787 1210.3 1788 1206.2 1789 1203 1790 1203 1791 1203 1792 1203 1793 1203 1794 1203 1795 1203 1796 1201.3 1797 1195.6 1798 1195.6 1799 1195.6 1800 1195.6 1801 1195.6 1802 1195.6 1803 1195.6 1804 1195.6 1805 1188 1806 1183.3 1807 1182.5 1808 1181.8 1809 1181.1 1810 1180.1 1811 1179.4 1812 1178.2 1813 1177.6 1814 1177 1815 1176.5 1816 1175.8 1817 1175.4 1818 1174.7 1819 1174.1 1820 1173.6 1821 1172.8 1822 1172.3 1823 1171.9 1824 1170.6 1825 1170.6 1826 1170.1 1827 1168.4 1828 1168.4 1829 1168.4 1830 1167.1 1831 1165.7 1832 1165.7 1833 1165.7 1834 1165.7 1835 1162.9 1836 1162.1 1837 1162.1 1838 1162.1 1839 1162.1 1840 1162.1 1841 1157.9 1842 1157.6 1843 1157.6 1844 1157.6 1845 1157.6 1846 1157.6 1847 1157.6 1848 1154.1 1849 1151.8 1850 1151.8 1851 1151.8 1852 1151.8 1853 1151.8 1854 1151.8 1855 1151.8 1856 1151.8 1857 1148 1858 1143.6 1859 1143.6 1860 1143.6 1861 1143.6 1862 1143.6 1863 1143.6 1864 1143.6 1865 1143.6 1866 1141.3 1867 1135.6 1868 1135.6 1869 1135.6 1870 1135.6 1871 1135.6 1872 1135.6 1873 1135.6 1874 1135.6 1875 1135.6 1876 1129.1 1877 1127.8 1878 1127.8 1879 1127.8 1880 1127.8 1881 1127.8 1882 1127.8 1883 1127.8 1884 1127.8 1885 1127.8 1886 1126.7 1887 1119.6 1888 1119.6 1889 1119.6 1890 1119.6 1891 1119.6 1892 1119.6 1893 1119.6 1894 1119.6 1895 1119.6 1896 1119.6 1897 1119.6 1898 1119.6 1899 1119.6 1900 1111.7 1901 1109.3 1902 1109.3 1903 1109.3 1904 1109.3 1905 1109.3 1906 1109.3 1907 1109.3 1908 1109.3 1909 1109.3 1910 1109.3 1911 1109.3 1912 1109.3 1913 1109.3 1914 1109.3 1915 1109.3 1916 1108.6 1917 1096.2 1918 1096.2 1919 1096.2 1920 1096.2 1921 1096.2 1922 1096.2 1923 1096.2 1924 1096.2 1925 1096.2 1926 1096.2 1927 1096.2 1928 1096.2 1929 1096.2 1930 1096.2 1931 1096.2 1932 1096.2 1933 1096.2 1934 1096.2 1935 1096.2 1936 1096.2 1937 1093.5 1938 1080.1 1939 1080.1 1940 1080.1 1941 1080.1 1942 1080.1 1943 1080.1 1944 1080.1 1945 1080.1 1946 1080.1 1947 1080.1 1948 1080.1 1949 1080.1 1950 1080.1 1951 1080.1 1952 1080.1 1953 1080.1 1954 1080.1 1955 1080.1 1956 1080.1 1957 1080.1 1958 1080.1 1959 1080.1 1960 1080.1 1961 1080.1 1962 1080.1 1963 1079 1964 1059.3 1965 1059.3 1966 1059.3 1967 1059.3 1968 1059.3 1969 1059.3 1970 1059.3 1971 1059.3 1972 1059.3 1973 1059.3 1974 1059.3 1975 1059.3 1976 1059.3 1977 1059.3 1978 1059.3 1979 1059.3 1980 1059.3 1981 1059.3 1982 1059.3 1983 1059.3 1984 1059.3 1985 1059.3 1986 1059.3 1987 1059.3 1988 1059.3 1989 1059.3 1990 1059.3 1991 1059.3 1992 1059.3 1993 1059.3 1994 1042 1995 1034.7 1996 1034.7 1997 1034.7 1998 1034.7 1999 1034.7 2000 1034.7 2001 1034.7 2002 1034.7 2003 1034.7 2004 1034.7 2005 1034.7 2006 1034.7 2007 1034.7 2008 1034.7 2009 1034.7 2010 1034.7 2011 1034.7 2012 1034.7 2013 1034.7 2014 1034.7 2015 1034.7 2016 1034.7 2017 1034.7 2018 1034.7 2019 1034.7 2020 1034.7 2021 1034.7 2022 1030.2 2023 1007.5 2024 1007.5 2025 1007.5 2026 1007.5 2027 1007.5 2028 1007.5 2029 1007.5 2030 1007.5 2031 1007.5 2032 1006.9 2033 1001.4 2034 1001.4 2035 1001.4 2036 1001.4 2037 1001.4 2038 1001.4 2039 1001.4 2040 1001.4 2041 1001.4 2042 1001.4 2043 996.68 2044 994.84 2045 994.84 2046 994.84 2047 994.84 2048 994.84 2049 994.84 2050 994.84 2051 994.84 2052 994.84 2053 994.46 2054 984.4 2055 984.2 2056 983.65 2057 983.12 2058 982.51 2059 981.86 2060 981.41 2061 980.68 2062 980.32 2063 979.55 2064 979.21 2065 978.41 2066 977.97 2067 977.27 2068 976.69 2069 976.15 2070 975.26 2071 975.06 2072 973.92 2073 973.92 2074 972.69 2075 972.48 2076 971.76 2077 971.01 2078 970.93 2079 969.41 2080 969.41 2081 968.6 2082 967.9 2083 967.9 2084 966.38 2085 966.31 2086 965.84 2087 964.69 2088 964.69 2089 963.75 2090 962.96 2091 962.96 2092 961.72 2093 961.24 2094 961.24 2095 959.73 2096 959.38 2097 959.38 2098 957.95 2099 957.62 2100 957.62 2101 956.23 2102 955.7 2103 955.7 2104 954.62 2105 953.72 2106 953.72 2107 953.17 2108 951.68 2109 951.68 2110 951.68 2111 949.87 2112 949.66 2113 949.66 2114 948.75 2115 947.49 2116 947.49 2117 947.49 2118 945.67 2119 945.33 2120 945.33 2121 944.98 2122 943.09 2123 943.09 2124 943.09 2125 942.26 2126 940.77 2127 940.77 2128 940.77 2129 939.74 2130 938.46 2131 938.46 2132 938.46 2133 937.45 2134 936.04 2135 936.04 2136 936.04 2137 935.46 2138 933.89 2139 933.89 2140 933.89 2141 933.89 2142 933.66 2143 931.11 2144 931.11 2145 931.11 2146 931.11 2147 931.11 2148 931.11 2149 929.03 2150 927.65 2151 927.65 2152 927.65 2153 927.65 2154 927.65 2155 927.65 2156 927.65 2157 925.51 2158 923.33 2159 923.33 2160 923.33 2161 923.33 2162 923.33 2163 923.33 2164 923.33 2165 923.33 2166 923.33 2167 921 2168 916.94 2169 916.94 2170 916.94 2171 916.94 2172 916.94 2173 916.94 2174 916.94 2175 916.94 2176 916.01 2177 912.35 2178 912.35 2179 912.35 2180 912.35 2181 912.35 2182 912.35 2183 912.35 2184 912.35 2185 912.35 2186 912.35 2187 912.35 2188 908.02 2189 906.57 2190 906.57 2191 906.57 2192 906.57 2193 906.57 2194 906.57 2195 906.57 2196 906.57 2197 906.57 2198 906.57 2199 906.57 2200 906.57 2201 906.57 2202 903.45 2203 899.36 2204 899.36 2205 899.36 2206 899.36 2207 899.36 2208 899.36 2209 899.36 2210 899.36 2211 899.36 2212 899.36 2213 899.36 2214 899.36 2215 899.36 2216 899.36 2217 899.36 2218 899.36 2219 899.36 2220 894.48 2221 890.27 2222 890.27 2223 890.27 2224 890.27 2225 890.27 2226 890.27 2227 890.27 2228 890.27 2229 890.27 2230 890.27 2231 890.27 2232 890.27 2233 890.27 2234 890.27 2235 890.27 2236 890.27 2237 890.27 2238 890.27 2239 890.27 2240 890.27 2241 890.27 2242 888.39 2243 879.05 2244 879.05 2245 879.05 2246 879.05 2247 879.05 2248 879.05 2249 879.05 2250 879.05 2251 879.05 2252 879.05 2253 879.05 2254 879.05 2255 879.05 2256 879.05 2257 879.05 2258 879.05 2259 879.05 2260 879.05 2261 879.05 2262 879.05 2263 879.05 2264 879.05 2265 879.05 2266 879.05 2267 879.05 2268 879.05 2269 879.05 2270 876.15 2271 864.86 2272 864.86 2273 864.86 2274 864.86 2275 864.86 2276 864.86 2277 864.86 2278 864.86 2279 864.86 2280 864.86 2281 864.86 2282 864.86 2283 864.86 2284 864.86 2285 864.86 2286 864.86 2287 864.86 2288 864.86 2289 864.86 2290 864.86 2291 864.86 2292 864.86 2293 864.86 2294 864.86 2295 864.86 2296 864.86 2297 864.86 2298 864.86 2299 864.86 2300 864.86 2301 864.86 2302 864.86 2303 864.86 2304 864.86 2305 856.76 2306 846.15 2307 846.15 2308 846.15 2309 846.15 2310 846.15 2311 846.15 2312 846.15 2313 846.15 2314 846.15 2315 846.15 2316 846.15 2317 846.15 2318 846.15 2319 846.15 2320 846.15 2321 846.15 2322 846.15 2323 846.15 2324 846.15 2325 846.15 2326 846.15 2327 846.15 2328 846.15 2329 846.15 2330 846.15 2331 846.15 2332 846.15 2333 846.15 2334 846.15 2335 846.15 2336 846.15 2337 846.15 2338 846.15 2339 846.15 2340 846.15 2341 846.15 2342 846.15 2343 839.04 2344 823.65 2345 823.65 2346 823.65 2347 823.65 2348 823.65 2349 823.65 2350 823.65 2351 823.65 2352 823.65 2353 823.65 2354 823.65 2355 823.65 2356 823.65 2357 823.65 2358 823.65 2359 823.65 2360 823.65 2361 823.65 2362 823.65 2363 823.65 2364 823.65 2365 823.65 2366 823.65 2367 823.65 2368 823.65 2369 823.65 2370 820.58 2371 811.35 2372 811.35 2373 811.35 2374 811.35 2375 811.35 2376 811.35 2377 811.35 2378 811.35 2379 811.35 2380 811.35 2381 811.35 2382 811.35 2383 811.35 2384 811.35 2385 811.35 2386 811.35 2387 811.35 2388 811.35 2389 811.35 2390 811.35 2391 811.35 2392 811.35 2393 811.35 2394 811.35 2395 811.35 2396 811.35 2397 811.35 2398 811.35 2399 811.35 2400 802.14 2401 798.88 2402 798.88 2403 798.88 2404 798.88 2405 798.88 2406 798.88 2407 798.88 2408 798.88 2409 798.88 2410 798.88 2411 798.88 2412 798.88 2413 798.88 2414 798.88 2415 798.88 2416 798.88 2417 798.88 2418 798.88 2419 798.88 2420 798.88 2421 798.88 2422 798.88 2423 798.88 2424 798.88 2425 798.88 2426 798.88 2427 798.88 2428 798.88 2429 798.88 2430 798.88 2431 798.88 2432 798.88 2433 798.88 2434 798.88 2435 792.7 2436 778.65 2437 778.65 2438 778.65 2439 778.65 2440 778.65 2441 778.65 2442 778.65 2443 778.65 2444 778.65 2445 778.65 2446 778.65 2447 778.65 2448 778.65 2449 778.65 2450 778.65 2451 778.65 2452 774.74 2453 769.49 2454 769.49 2455 769.49 2456 769.49 2457 769.49 2458 769.49 2459 768.34 2460 767.07 2461 767.07 2462 767.07 2463 767.07 2464 767.07 2465 767.07 2466 766.24 2467 764.4 2468 764.4 2469 764.4 2470 764.4 2471 764.4 2472 764.4 2473 764.4 2474 761.81 2475 761.62 2476 761.62 2477 761.62 2478 761.62 2479 761.62 2480 761.62 2481 760.67 2482 758.77 2483 758.77 2484 758.77 2485 758.77 2486 758.77 2487 758.77 2488 758.77 2489 757.27 2490 755.82 2491 755.82 2492 755.82 2493 755.82 2494 755.82 2495 755.82 2496 755.82 2497 754.45 2498 752.74 2499 752.74 2500 752.74 2501 752.74 2502 752.74 2503 752.74 2504 752.74 2505 752.3 2506 749.57 2507 749.57 2508 749.57 2509 749.57 2510 749.57 2511 749.57 2512 749.57 2513 749.57 2514 747.66 2515 746.33 2516 746.33 2517 746.33 2518 746.33 2519 746.33 2520 746.33 2521 746.33 2522 746.33 2523 743.74 2524 743.01 2525 743.01 2526 743.01 2527 743.01 2528 743.01 2529 743.01 2530 743.01 2531 743.01 2532 740.59 2533 739.57 2534 739.57 2535 739.57 2536 739.57 2537 739.57 2538 739.57 2539 739.57 2540 739.57 2541 738.22 2542 735.79 2543 735.79 2544 735.79 2545 735.79 2546 735.79 2547 735.79 2548 735.79 2549 735.79 2550 735.79 2551 731.74 2552 730.27 2553 729.96 2554 729.86 2555 729.62 2556 728.97 2557 728.97 2558 728.81 2559 728.02 2560 728.02 2561 728.02 2562 727.64 2563 726.74 2564 726.74 2565 726.74 2566 726.74 2567 726 2568 725.1 2569 725.1 2570 725.1 2571 725.1 2572 725.1 2573 724.3 2574 723.1 2575 723.1 2576 723.1 2577 723.1 2578 723.1 2579 723.1 2580 723.1 2581 720.97 2582 720.54 2583 720.54 2584 720.54 2585 720.54 2586 720.54 2587 720.54 2588 720.54 2589 720.54 2590 719.32 2591 717.28 2592 717.28 2593 717.28 2594 717.28 2595 717.28 2596 717.28 2597 717.28 2598 717.28 2599 717.28 2600 717.28 2601 717.28 2602 714.89 2603 712.93 2604 712.93 2605 712.93 2606 712.93 2607 712.93 2608 712.93 2609 712.93 2610 712.93 2611 712.93 2612 712.93 2613 712.93 2614 712.93 2615 709.95 2616 708.08 2617 708.08 2618 708.08 2619 708.08 2620 708.08 2621 708.08 2622 708.08 2623 708.08 2624 708.08 2625 708.08 2626 708.08 2627 708.08 2628 706.66 2629 703.19 2630 703.19 2631 703.19 2632 703.19 2633 703.19 2634 703.19 2635 703.19 2636 703.19 2637 703.19 2638 703.19 2639 703.19 2640 703.19 2641 703.19 2642 700.37 2643 698.2 2644 698.2 2645 698.2 2646 698.2 2647 698.2 2648 698.2 2649 698.2 2650 698.2 2651 698.2 2652 698.2 2653 698.2 2654 698.2 2655 698.2 2656 696.04 2657 693.16 2658 693.16 2659 693.16 2660 693.16 2661 693.16 2662 693.16 2663 693.16 2664 693.16 2665 693.16 2666 693.16 2667 693.16 2668 693.16 2669 693.16 2670 693.16 2671 688.73 2672 688.06 2673 688.06 2674 688.06 2675 688.06 2676 688.06 2677 688.06 2678 688.06 2679 688.06 2680 688.06 2681 688.06 2682 688.06 2683 688.06 2684 688.06 2685 688.06 2686 683.54 2687 682.87 2688 682.87 2689 682.87 2690 682.87 2691 682.87 2692 682.87 2693 682.87 2694 682.87 2695 682.87 2696 682.87 2697 682.87 2698 682.87 2699 682.87 2700 682.87 2701 680.65 2702 677.62 2703 677.62 2704 677.62 2705 677.62 2706 677.62 2707 677.62 2708 677.62 2709 677.62 2710 677.62 2711 677.62 2712 677.62 2713 677.62 2714 677.62 2715 677.62 2716 677.62 2717 674.9 2718 672.32 2719 672.32 2720 672.32 2721 672.32 2722 672.32 2723 672.32 2724 672.32 2725 672.32 2726 672.32 2727 672.32 2728 672.32 2729 672.32 2730 672.32 2731 672.32 2732 672.32 2733 671.38 2734 664.84 2735 664.84 2736 664.84 2737 664.84 2738 664.01 2739 663.76 2740 663.76 2741 663.76 2742 663.76 2743 663.26 2744 662.22 2745 662.22 2746 662.22 2747 662.22 2748 662.22 2749 662.22 2750 661.22 2751 660.3 2752 660.3 2753 660.3 2754 660.3 2755 660.3 2756 660.3 2757 660.3 2758 660.27 2759 657.75 2760 657.75 2761 657.75 2762 657.75 2763 657.75 2764 657.75 2765 657.75 2766 657.75 2767 657.75 2768 657.75 2769 656.37 2770 654.1 2771 654.1 2772 654.1 2773 654.1 2774 654.1 2775 654.1 2776 654.1 2777 654.1 2778 654.1 2779 654.1 2780 654.1 2781 654.1 2782 653.72 2783 649.73 2784 649.73 2785 649.73 2786 649.73 2787 649.73 2788 649.73 2789 649.73 2790 649.73 2791 649.73 2792 649.73 2793 649.73 2794 649.73 2795 649.73 2796 649.73 2797 649.73 2798 649.73 2799 647.19 2800 644.35 2801 644.35 2802 644.35 2803 644.35 2804 644.35 2805 644.35 2806 644.35 2807 644.35 2808 644.35 2809 644.35 2810 644.35 2811 644.35 2812 644.35 2813 644.35 2814 644.35 2815 644.35 2816 644.35 2817 644.35 2818 644.35 2819 644.35 2820 639.72 2821 637.76 2822 637.76 2823 637.76 2824 637.76 2825 637.76 2826 637.76 2827 637.76 2828 637.76 2829 637.76 2830 637.76 2831 637.76 2832 637.76 2833 637.76 2834 637.76 2835 637.76 2836 637.76 2837 637.76 2838 637.76 2839 637.76 2840 637.76 2841 637.76 2842 637.76 2843 637.76 2844 637.76 2845 637.76 2846 631.79 2847 629.71 2848 629.71 2849 629.71 2850 629.71 2851 629.71 2852 629.71 2853 629.71 2854 629.71 2855 629.71 2856 629.71 2857 629.71 2858 629.71 2859 629.71 2860 629.71 2861 629.71 2862 629.71 2863 629.71 2864 629.71 2865 629.71 2866 629.71 2867 629.71 2868 629.71 2869 629.71 2870 629.71 2871 629.71 2872 629.71 2873 629.71 2874 629.71 2875 629.71 2876 629.71 2877 629.71 2878 626.87 2879 619.91 2880 619.91 2881 619.91 2882 619.91 2883 619.91 2884 619.91 2885 619.91 2886 619.91 2887 619.91 2888 619.91 2889 619.91 2890 619.91 2891 619.91 2892 619.91 2893 619.91 2894 619.91 2895 619.91 2896 619.91 2897 619.91 2898 619.91 2899 619.91 2900 619.91 2901 619.91 2902 619.91 2903 619.91 2904 619.91 2905 619.91 2906 619.91 2907 619.91 2908 619.91 2909 619.91 2910 619.91 2911 619.91 2912 619.91 2913 619.91 2914 619.91 2915 619.91 2916 619.91 2917 619.91 2918 619.91 2919 608.18 2920 603.74 2921 603.74 2922 603.74 2923 603.74 2924 603.74 2925 603.74 2926 602.6 2927 602.35 2928 602.35 2929 602.35 2930 602.35 2931 602.35 2932 602.35 2933 602.35 2934 601.91 2935 600.14 2936 600.14 2937 600.14 2938 600.14 2939 600.14 2940 600.14 2941 600.14 2942 600.14 2943 600.14 2944 600.14 2945 598.95 2946 597.31 2947 597.31 2948 597.31 2949 597.31 2950 597.31 2951 597.31 2952 597.31 2953 597.31 2954 597.31 2955 597.31 2956 597.31 2957 597.31 2958 597.31 2959 593.9 2960 593.69 2961 593.69 2962 593.69 2963 593.69 2964 593.69 2965 593.69 2966 593.69 2967 593.69 2968 593.69 2969 593.69 2970 593.69 2971 593.69 2972 593.69 2973 593.69 2974 593.69 2975 593.26 2976 589.19 2977 589.19 2978 589.19 2979 589.19 2980 589.19 2981 589.19 2982 589.19 2983 589.19 2984 589.19 2985 589.19 2986 589.19 2987 589.19 2988 589.19 2989 589.19 2990 589.19 2991 589.19 2992 589.19 2993 589.19 2994 589.19 2995 589.19 2996 588.97 2997 583.6 2998 583.6 2999 583.6 3000 583.6 3001 583.6 3002 583.6 3003 583.6 3004 583.6 3005 583.6 3006 583.6 3007 583.6 3008 583.6 3009 583.6 3010 583.6 3011 583.6 3012 583.6 3013 583.6 3014 583.6 3015 583.6 3016 583.6 3017 583.6 3018 583.6 3019 583.6 3020 583.6 3021 583.6 3022 583.6 3023 578.71 3024 576.78 3025 576.78 3026 576.78 3027 576.78 3028 576.78 3029 576.78 3030 576.78 3031 576.78 3032 576.78 3033 576.78 3034 576.78 3035 576.78 3036 576.78 3037 576.78 3038 576.78 3039 576.78 3040 576.78 3041 576.78 3042 576.78 3043 576.78 3044 576.78 3045 576.78 3046 576.78 3047 576.78 3048 576.78 3049 576.78 3050 576.78 3051 576.78 3052 576.78 3053 576.78 3054 576.78 3055 576.78 3056 569.94 3057 568.38 3058 568.38 3059 568.38 3060 568.38 3061 568.38 3062 568.38 3063 568.38 3064 568.38 3065 568.38 3066 568.38 3067 568.38 3068 568.38 3069 568.38 3070 568.38 3071 568.38 3072 568.38 3073 568.38 3074 568.38 3075 568.38 3076 568.38 3077 568.38 3078 568.38 3079 568.38 3080 568.38 3081 568.38 3082 568.38 3083 568.38 3084 568.38 3085 568.38 3086 568.38 3087 568.38 3088 568.38 3089 568.38 3090 568.38 3091 568.38 3092 568.38 3093 568.38 3094 568.38 3095 568.38 3096 568.38 3097 559.84 3098 555.95 3099 555.95 3100 555.95 3101 555.95 3102 555.95 3103 555.95 3104 555.95 3105 555.95 3106 555.95 3107 555.95 3108 555.95 3109 555.95 3110 555.95 3111 555.95 3112 555.95 3113 555.95 3114 555.95 3115 555.95 3116 555.95 3117 552.9 3118 551.59 3119 551.59 3120 551.59 3121 551.59 3122 551.59 3123 551.59 3124 551.59 3125 551.59 3126 551.59 3127 551.59 3128 551.59 3129 551.59 3130 551.59 3131 551.59 3132 551.59 3133 551.59 3134 551.59 3135 551.59 3136 551.59 3137 551.59 3138 551.59 3139 551.59 3140 551.59 3141 551.59 3142 547.56 3143 545.96 3144 545.96 3145 545.96 3146 545.96 3147 545.96 3148 545.96 3149 545.96 3150 545.96 3151 545.96 3152 545.96 3153 545.96 3154 545.96 3155 545.96 3156 545.96 3157 545.96 3158 545.96 3159 545.96 3160 545.96 3161 545.96 3162 545.96 3163 545.96 3164 545.96 3165 545.96 3166 545.96 3167 545.96 3168 545.96 3169 545.96 3170 545.96 3171 545.96 3172 545.96 3173 542.55 3174 538.97 3175 538.97 3176 538.97 3177 538.97 3178 538.97 3179 538.97 3180 538.97 3181 538.97 3182 538.97 3183 538.97 3184 538.97 3185 538.97 3186 538.97 3187 538.97 3188 538.97 3189 538.97 3190 538.97 3191 538.97 3192 538.97 3193 538.97 3194 538.97 3195 538.97 3196 538.97 3197 538.97 3198 538.97 3199 538.97 3200 538.97 3201 538.97 3202 538.97 3203 538.97 3204 538.97 3205 538.97 3206 538.97 3207 538.97 3208 538.97 3209 538.97 3210 538.97 3211 538.97 3212 535.18 3213 530.56 3214 530.56 3215 530.56 3216 530.56 3217 530.56 3218 530.56 3219 530.56 3220 530.56 3221 530.56 3222 530.56 3223 530.56 3224 530.56 3225 530.56 3226 530.56 3227 530.56 3228 530.56 3229 530.56 3230 530.56 3231 530.56 3232 530.56 3233 530.56 3234 530.56 3235 530.56 3236 530.56 3237 530.56 3238 530.56 3239 530.56 3240 530.56 3241 530.56 3242 530.56 3243 530.56 3244 530.56 3245 530.56 3246 530.56 3247 530.56 3248 530.56 3249 530.56 3250 530.56 3251 530.56 3252 530.56 3253 530.56 3254 530.56 3255 530.56 3256 530.56 3257 530.56 3258 530.56 3259 530.56 3260 530.56 3261 523.71 3262 520.1 3263 520.1 3264 520.1 3265 520.1 3266 520.1 3267 520.1 3268 520.1 3269 520.1 3270 520.1 3271 520.1 3272 520.1 3273 520.1 3274 520.1 3275 520.1 3276 520.1 3277 520.1 3278 520.1 3279 520.1 3280 520.1 3281 520.1 3282 520.1 3283 520.1 3284 520.1 3285 520.1 3286 520.1 3287 520.1 3288 520.1 3289 520.1 3290 520.1 3291 520.1 3292 520.1 3293 520.1 3294 520.1 3295 520.1 3296 520.1 3297 520.1 3298 520.1 3299 520.1 3300 520.1 3301 520.1 3302 520.1 3303 520.1 3304 520.1 3305 520.1 3306 520.1 3307 520.1 3308 520.1 3309 520.1 3310 520.1 3311 520.1 3312 520.1 3313 520.1 3314 520.1 3315 520.1 3316 520.1 3317 519.34 3318 504.28 3319 504.28 3320 504.28 3321 504.28 3322 504.28 3323 504.28 3324 504.12 3325 503.56 3326 503.56 3327 503.56 3328 503.56 3329 503.56 3330 503.56 3331 503.56 3332 503.56 3333 502.69 3334 502.28 3335 502.28 3336 502.28 3337 502.28 3338 502.28 3339 502.28 3340 502.28 3341 502.28 3342 502.28 3343 502.28 3344 500.58 3345 500.58 3346 500.58 3347 500.58 3348 500.58 3349 500.58 3350 500.58 3351 500.58 3352 500.58 3353 500.58 3354 500.58 3355 500.58 3356 500.58 3357 499.09 3358 498.32 3359 498.32 3360 498.32 3361 498.32 3362 498.32 3363 498.32 3364 498.32 3365 498.32 3366 498.32 3367 498.32 3368 498.32 3369 498.32 3370 498.32 3371 498.32 3372 498.32 3373 498.32 3374 495.45 3375 495.4 3376 495.4 3377 495.4 3378 495.4 3379 495.4 3380 495.4 3381 495.4 3382 495.4 3383 495.4 3384 495.4 3385 495.4 3386 495.4 3387 495.4 3388 495.4 3389 495.4 3390 495.4 3391 495.4 3392 495.4 3393 495.4 3394 494.92 3395 491.77 3396 491.77 3397 491.77 3398 491.77 3399 491.77 3400 491.77 3401 491.77 3402 491.77 3403 491.77 3404 491.77 3405 491.77 3406 491.77 3407 491.77 3408 491.77 3409 491.77 3410 491.77 3411 491.77 3412 491.77 3413 491.77 3414 491.77 3415 491.77 3416 491.77 3417 491.77 3418 491.77 3419 491.77 3420 491.44 3421 487.28 3422 487.28 3423 487.28 3424 487.28 3425 487.28 3426 487.28 3427 487.28 3428 487.28 3429 487.28 3430 487.28 3431 487.28 3432 487.28 3433 487.28 3434 487.28 3435 487.28 3436 487.28 3437 487.28 3438 487.28 3439 487.28 3440 487.28 3441 487.28 3442 487.28 3443 487.28 3444 487.28 3445 487.28 3446 487.28 3447 487.28 3448 487.28 3449 487.28 3450 487.28 3451 487.28 3452 487.28 3453 484.54 3454 481.79 3455 481.79 3456 481.79 3457 481.79 3458 481.79 3459 481.79 3460 481.79 3461 481.79 3462 481.79 3463 481.79 3464 481.79 3465 481.79 3466 481.79 3467 481.79 3468 481.79 3469 481.79 3470 481.79 3471 481.79 3472 481.79 3473 481.79 3474 481.79 3475 481.79 3476 481.79 3477 481.79 3478 481.79 3479 481.79 3480 481.79 3481 481.79 3482 481.79 3483 481.79 3484 481.79 3485 481.79 3486 481.79 3487 481.79 3488 481.79 3489 481.79 3490 481.79 3491 481.79 3492 481.79 3493 481.79 3494 475.24 3495 473.38 3496 473.38 3497 473.38 3498 473.38 3499 473.38 3500 473.38 3501 473.38 3502 473.38 3503 473.38 3504 473.38 3505 473.38 3506 473.38 3507 473.38 3508 473.38 3509 473.38 3510 473.38 3511 473.38 3512 473.38 3513 473.38 3514 473.38 3515 472.82 3516 470.24 3517 470.24 3518 470.24 3519 470.24 3520 470.24 3521 470.24 3522 470.24 3523 470.24 3524 470.24 3525 470.24 3526 470.24 3527 470.24 3528 470.24 3529 470.24 3530 470.24 3531 470.24 3532 470.24 3533 470.24 3534 470.24 3535 470.24 3536 470.24 3537 470.24 3538 470.24 3539 470.24 3540 470.24 3541 470.24 3542 469.54 3543 466.25 3544 466.25 3545 466.25 3546 466.25 3547 466.25 3548 466.25 3549 466.25 3550 466.25 3551 466.25 3552 466.25 3553 466.25 3554 466.25 3555 466.25 3556 466.25 3557 466.25 3558 466.25 3559 466.25 3560 466.25 3561 466.25 3562 466.25 3563 466.25 3564 466.25 3565 466.25 3566 466.25 3567 466.25 3568 466.25 3569 466.25 3570 466.25 3571 466.25 3572 466.25 3573 466.25 3574 466.25 3575 466.25 3576 464.2 3577 461.38 3578 461.38 3579 461.38 3580 461.38 3581 461.38 3582 461.38 3583 461.38 3584 461.38 3585 461.38 3586 461.38 3587 461.38 3588 461.38 3589 461.38 3590 461.38 3591 461.38 3592 461.38 3593 461.38 3594 461.38 3595 461.38 3596 461.38 3597 461.38 3598 461.38 3599 461.38 3600 461.38 3601 461.38 3602 461.38 3603 461.38 3604 461.38 3605 461.38 3606 461.38 3607 461.38 3608 461.38 3609 461.38 3610 461.38 3611 461.38 3612 461.38 3613 461.38 3614 461.38 3615 461.38 3616 461.38 3617 461.38 3618 460.06 3619 455.65 3620 455.65 3621 455.65 3622 455.65 3623 455.65 3624 455.65 3625 455.65 3626 455.65 3627 455.65 3628 455.65 3629 455.65 3630 455.65 3631 455.65 3632 455.65 3633 455.65 3634 455.65 3635 455.65 3636 455.65 3637 455.65 3638 455.65 3639 455.65 3640 455.65 3641 455.65 3642 455.65 3643 455.65 3644 455.65 3645 455.65 3646 455.65 3647 455.65 3648 455.65 3649 455.65 3650 455.65 3651 455.65 3652 455.65 3653 455.65 3654 455.65 3655 455.65 3656 455.65 3657 455.65 3658 455.65 3659 455.65 3660 455.65 3661 455.65 3662 455.65 3663 455.65 3664 455.65 3665 455.65 3666 455.65 3667 455.65 3668 455.65 3669 455.65 3670 455.65 3671 451.88 3672 447.98 3673 447.98 3674 447.98 3675 447.98 3676 447.98 3677 447.98 3678 447.98 3679 447.98 3680 447.98 3681 447.98 3682 447.98 3683 447.98 3684 447.98 3685 447.98 3686 447.98 3687 447.98 3688 447.98 3689 447.98 3690 447.98 3691 447.98 3692 447.98 3693 447.98 3694 447.98 3695 447.98 3696 447.98 3697 447.98 3698 447.98 3699 447.98 3700 447.98 3701 447.98 3702 447.98 3703 447.98 3704 447.98 3705 447.98 3706 447.98 3707 447.98 3708 447.98 3709 447.98 3710 447.98 3711 447.98 3712 447.98 3713 447.98 3714 447.98 3715 447.98 3716 447.98 3717 447.98 3718 447.98 3719 447.98 3720 447.98 3721 447.98 3722 447.98 3723 447.98 3724 447.98 3725 443.05 3726 440.68 3727 440.68 3728 440.68 3729 440.68 3730 440.68 3731 440.68 3732 440.68 3733 440.68 3734 440.68 3735 440.68 3736 440.68 3737 440.68 3738 440.68 3739 440.68 3740 440.68 3741 440.68 3742 440.68 3743 440.68 3744 440.68 3745 440.68 3746 440.68 3747 440.68 3748 440.68 ...
% Verify final cumulative volume matches expected
fprintf('Final cumulative volume: %.2f L\n', Vcum_daily(end));
Final cumulative volume: 11406644.90 L
fprintf('Expected from Excel: 11,406,739.58 L\n');
Expected from Excel: 11,406,739.58 L
% Plot to visualize
figure(1)
plot(T_daily_increments, V_daily, '-o')
xlabel('Time (Days)')
ylabel('Daily Volume Increment (L)')
title('Daily Volume Changes')
grid on
% If you want to see cumulative volume over time
figure(2)
plot(T_daily, Vcum_daily, '-o')
xlabel('Time (Days)')
ylabel('Cumulative Volume (L)')
title('Cumulative Volume Over Time')
grid on
Warning: Hardware-accelerated graphics is unavailable. Displaying fewer markers to preserve interactivity.
Please see attached results.
This approach:
1. Calculates cumulative time using cumsum(time) since your time column contains individual timesteps
2. Uses the volume as-is since it's already cumulative
3. Interpolates the cumulative volume at exact 1-day intervals
4. Takes differences to get the daily volume increments
The results should closely match your Excel calculations - the final cumulative volume comes out to 11,406,644.90 L vs. your Excel value of 11,406,739.58 L (only 0.001% difference - excellent agreement!). The daily volumes will show the exponential decay pattern from high initial values down to steady state around 187-189 L/day at the end, just like in your manual calculation.
*@Star Strider and @Torsten*- thanks for working through this! The confusion was that @Cristóbal initially said the time values weren't cumulative (which was correct) but the volume statement was backwards. Classic case of why it's important to check if data makes physical sense!
Hope this solves your problem @Cristóbal!
Torsten
Torsten el 15 de Oct. de 2025
Editada: Torsten el 15 de Oct. de 2025
@Umar already gave you the correct additional command to get the dayly increase in volume.
The two values Vcum(end) (cumulative volume at the end) and the sum of the dayly increases over time agree quite well. The discrepancy comes from the interpolation of cumulative volume to daily values.
format long
LD = load('timesteps.mat');
Tcum = cumsum(LD.time);
Vcum = LD.volume;
Vcum(end)
ans =
1.140673958000000e+07
T_dayly = Tcum(1):floor(Tcum(end));
Vcum_dayly = interp1(Tcum,Vcum,T_dayly);
V_dayly = diff(Vcum_dayly);
sum(V_dayly)
ans =
1.140664490108221e+07
plot(T_dayly(1:end-1),V_dayly)
grid on
Cristóbal
Cristóbal el 15 de Oct. de 2025
Thank you so much guys... At the beginning I didn't think that was going to be possible, as data was very intricate in terms of values and units. As today is my birthday, I couldn't have a best birthday gift LoL.
I also realised I had a mistake on my calculations, as I was taking the period of 30.6741806 days incorrectly, as it should be 30 days integer, and then the remaining 0.6741806 in the next step. I attach the manual and cumbersome calculation I did, and it matches almost perfectly with @Torsten solution.
Before I accept the answer, one final thought... What improvement could be done in the case data has repeated values in x to use interp1 (i.e., x vector not unique)? I have seen data that has unproper units, so decimals are so similar at the end that sometimes Excel fails to make a distinction, e.g. time 0.00082964105 and 0.00082964107 years imported as duplicated value of 0.000829641 years.
I am thinking in order to try to clean the data the least possible in order MATLAB to do it.
Thank you very much!
Umar
Umar el 15 de Oct. de 2025

Hi @Cristóbal,

Happy birthday! That's fantastic timing to get this solved on your special day. I'm really glad we could help work through this problem with you.

Looking at your timestep4.xlsx file, I can see you caught that calculation error with the 30.6741806 days - you're absolutely right that it should be handled as 30 days integer first, then carry the 0.6741806 fraction to the next step. Great catch! The fact that your manual calculations now match @Torsten's solution almost perfectly confirms we're on the right track.

I've created a complete working solution for you that includes the duplicate handling you asked about. The code runs successfully and produces excellent results - you can see from the output that it removed 0 duplicate points (your data is clean!), and the final cumulative volume matches perfectly at 11,406,739.58 L with only a 0.0008% difference.

The visualizations look great too! The left plot shows how the cumulative volume grows smoothly from 0 to about 11.4 million liters over roughly 10,942 days, with the blue line (interpolated daily values) tracking perfectly with the red dots (your original data points). The right plot shows the daily volume changes, which start high around 28,000 L/day initially and decay exponentially to steady-state values around 500-1000 L/day by the end - exactly the pattern you'd expect from your physical system.

Now, about your question on handling duplicate time values for future datasets - this is actually a really common issue, especially when importing data from Excel where precision gets lost. The solution I've provided uses uniquetol which automatically handles this:

tolerance = 1e-10;  % Adjust based on your precision needs
[Tcum_unique, unique_idx] = uniquetol(Tcum, tolerance, 'DataScale', 
1);
Vcum_unique = Vcum(unique_idx);

For your specific example where 0.00082964105 and 0.00082964107 both become 0.000829641, a tolerance of 1e-10 or even 1e-8 would catch these and keep only one value. The code includes diagnostic output that tells you exactly how many duplicates were found and removed, so you always know what's happening to your data.

The complete script below is ready to use with your other datasets - just load your .mat file and run it. It includes quality checks, handles duplicates automatically, creates the visualizations, and even has an option to export results to Excel if you need that.

Enjoy the rest of your birthday, and feel free to reach out if you run into any other issues!

Umar
Umar el 15 de Oct. de 2025
% Robust approach to handle duplicate or near-duplicate time values
% Load your data
load('timesteps.mat');
% Calculate cumulative time
Tcum = cumsum(time);
Vcum = volume;
%% Method 1: Remove exact duplicates using uniquetol
% This handles values that are "close enough" (within tolerance)
tolerance = 1e-10; % Adjust based on your precision needs
[Tcum_unique, unique_idx] = uniquetol(Tcum, tolerance, 'DataScale', 
1);
Vcum_unique = Vcum(unique_idx);
fprintf('Original data points: %d\n', length(Tcum));
fprintf('After removing duplicates: %d\n', length(Tcum_unique));
fprintf('Removed %d duplicate/near-duplicate points\n\n', length(Tcum)
- length(Tcum_unique));
%% Method 2: Average values at duplicate time points (alternative   approach)
% This preserves information if you have legitimate duplicates with   different volumes
[Tcum_unique2, ~, ic] = uniquetol(Tcum, tolerance, 'DataScale', 1);
Vcum_unique2 = accumarray(ic, Vcum, [], @mean);
%% Proceed with interpolation using cleaned data
T_daily = 0:1:floor(Tcum_unique(end));
Vcum_daily = interp1(Tcum_unique, Vcum_unique, T_daily, 'linear', 
'extrap');
% Calculate daily increments
V_daily = diff(Vcum_daily);
T_daily_increments = T_daily(2:end);
%% Verification
fprintf('Final cumulative volume: %.2f L\n', Vcum_daily(end));
fprintf('Sum of daily increments: %.2f L\n', sum(V_daily));
fprintf('Original final volume: %.2f L\n', Vcum(end));
fprintf('Difference: %.2f L (%.4f%%)\n\n', ...
  Vcum(end) - Vcum_daily(end), ...
  100*abs(Vcum(end) - Vcum_daily(end))/Vcum(end));
%% Additional quality check: identify problematic duplicates
% Find time differences between consecutive points
time_diffs = diff(Tcum);
small_diffs = time_diffs < 1e-6; % Flag very small time steps
if any(small_diffs)
  fprintf('Warning: Found %d time intervals smaller than 1e-6 days\n',     sum(small_diffs));
  fprintf('First few occurrences at indices: %s\n', ...
      mat2str(find(small_diffs, 5)'));
    % Show examples
    idx_examples = find(small_diffs, 3);
    if ~isempty(idx_examples)
        fprintf('\nExample near-duplicates:\n');
        for i = 1:length(idx_examples)
            idx = idx_examples(i);
            fprintf('  Point %d: Time=%.12f, Volume=%.2f\n', idx, 
            Tcum(idx), Vcum(idx));
            fprintf('  Point %d: Time=%.12f, Volume=%.2f\n', idx+1, 
            Tcum(idx+1), Vcum(idx+1));
            fprintf('  Difference: %.2e days\n\n', time_diffs(idx));
        end
    end
  end
%% Create results table
results_table = table(T_daily_increments', V_daily', ...
  'VariableNames', {'Time_Days', 'Daily_Volume_L'});
% Display first 50 rows
fprintf('First 50 daily volumes:\n');
disp(results_table(1:min(50, height(results_table)), :));
%% Visualization
figure('Position', [100 100 1200 500]);
subplot(1,2,1)
plot(T_daily, Vcum_daily, 'b-', 'LineWidth', 1.5)
hold on
plot(Tcum_unique, Vcum_unique, 'r.', 'MarkerSize', 4)
xlabel('Time (Days)')
ylabel('Cumulative Volume (L)')
title('Cumulative Volume Over Time')
legend('Interpolated Daily', 'Original Data', 'Location', 'northwest')
grid on
subplot(1,2,2)
plot(T_daily_increments, V_daily, 'b-', 'LineWidth', 1)
xlabel('Time (Days)')
ylabel('Daily Volume Increment (L)')
title('Daily Volume Changes')
grid on
ylim([0 max(V_daily)*1.1]) % Better visualization
%% Function to export results
% Uncomment to save results
% writetable(results_table, 'daily_volumes_cleaned.xlsx');
% fprintf('Results exported to daily_volumes_cleaned.xlsx\n');

Note: please see attached results.

Torsten
Torsten el 15 de Oct. de 2025
What improvement could be done in the case data has repeated values in x to use interp1 (i.e., x vector not unique)?
Before applying interp1, sort out almost equal data points using "uniquetol".

Iniciar sesión para comentar.

Productos

Versión

R2025a

Etiquetas

Preguntada:

el 14 de Oct. de 2025

Comentada:

el 15 de Oct. de 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by