MATLAB Answers

Help I keep getting error: [Error using griddedInterpolant The grid vectors must contain unique points]

6 views (last 30 days)
X = [28 43 66 75 103 141 180 200 218 248 254 280 291 295 328 330 371 408 408 447 457 486 525 563 602 638 674 711 749 758 771 787 789 804 820 824 851 861 867 880 897 897 926 933 956 970 1004 1017 1032 1041 1049 1063 1079 1080 1095 1109 1115 1125 1139 1152 1155 1169 1186 1188 1202 1215 1223 1260 1261 1276 1291 1296 1306 1332 1336 1350 1365 1368 1380 1396 1404 1426 1442 1444 1478 1502 1514 1548 1550 1579 1587 1609 1622 1659 1671 1686 1696 1701 1731 1732 1747 1761 1770 1779 1806 1823 1839 1843 1854 1868 1879 1884 1898 1914 1915 1930 1945 1953 1963 1975 1989 2026 2039 2053 2064 2083 2099 2114 2135 2145 2160 2173 2176 2190 2207 2210 2246 2252 2266 2283 2319 2329 2356 2392 2427 2434 2465 2466 2497 2503 2512 2527 2540 2543 2558 2574 2576 2589 2604 2613 2620 2635 2650 2666 2688 2699 2726 2731 2745 2764 2777 2793 2801 2809 2824 2840 2841 2873 2877 2902 2913 2919 2949 2950 2963 2984 2992 3008 3022 3039 3056 3060 3071 3085 3095 3101 3115 3133 3171 3180 3192 3206 3208 3223 3243 4960 4960 4975 4988 4996 5003 5019 5031 5033 5048 5065 5069 5080 5094 5103 5109 5125 5139 5153 5170 5177 5199 5212 5230 5247 5259 5274 5283 5289 5319 5319 5348 5354 5364 5389 5393 5410 5425 5427 5439 5453 5462 5470 5483 5498 5499 5534 5571 5588 5603 5605 5643 5651 5679 5681 5709 5714 5725 5751 5772 5786 5787 5824 5849 5863 5864 5899 5927 5936 5941 5970 5971 5987 6000 6008 6018 6041 6055 6056 6088 6092 6103 6130 6828 6842 6866 6873 6887 6902 7305 7349 7409 7418 7489 7562 7568 7664 7687 7740 7814 7850 7939 7968 7985 8133 8269 8282 8388 8429 8460 8534 8597 8722 8731 8797 8874 8903 8940 8984 9026 9193 9205 9268 9314 9318 9388 9463 9487 9538 9603 9624 9766 9915 9917 9955 10028 10048 10096 10166 10204 10265 10321 10333 10480 10550 10611 10675 10754 10780 10892 10913 11014 11077 11169 11227 11281 11360 11376 11427 13176 13267 13277 13334 13346 13353 13386 13387 13410 13413 13421 13432 13444 13463 13474 13475 13496 13504 13509 13520 13535 13561 13566 13572 13583 13592 13594 13606 13623 13625 13634 13645 13653 13656 13668 13680 13681 13714 13720 13741 13753 13768 13779 13803 13806 13828 13830 13839 13850 13862 13868 13890 13890 13901 13911 13917 13951 13954 13968 13985 13994 14007 14019 14043 14056 14058 14068 14080 14090 14094 14112 14130 14157 14167 14172 14208 14208 14235 14242 14249 14262 14281 14297 14312 14318 14329 14338 14340 14369 14372 14381 14404 14408 14418 14430 14444 14459 14465 14471 14481 14491 14493 14504 14515 14520 14553 14557 14567 14578 14579 14588 14599 14608 14616 14630 14642 14642 14669 14675 14701 14705 14717 14727 14729 14738 14749 14756 14790 14802 14813 14818 14824 14834 14844 14876 14880 14888 14899 14907 14922 14933 14935 14961 14968 14972 14983 14994 14994 15006 15024 15033 15047 15056 15058 15080 15083 15101 15112 15144 15165 15172 15205 15217 15229 15233 15241 15251 15260 15262 15292 15294 15322 15326 15338 15355 15388 15395 15402 15414 15426 15441 15461 15466 15475 15489 15500 15502 15515 15539 15549 15561 15571 15575 15588 15602 15605 15620 15636 15645 15650 15663 15676 15678 15709 15717 15750 15750 15764 15782 15790 15811 15824 15825 15836 15852 15862 15885 16265 16265 16281 16293 16299 16305 16326 16327 16338 16351 16356 16379 16386 16390 16401 16412 16413 16423 16437 16447 16475 16486 16497 16501 16524 16535 16538 16550 16562 16563 16583 16589 16611 16624 16624 16651 16657 16668 16677 16698 16710 16712 16720 16732 16739 16742 16753 16767 16782 16793 16800 16806 16827 16828 16838 16851 16857 16869 16880 16888 16891 16902 16914 16916 16926 16941 16950 16955 16966 16977 16977 16989 17002 17033 17049 17062 17063 17075 17097 17121 17161 17165 17179 17199 17212 17238 17251 17266 17281 17291 17296 17314 17328 17330 17381 17396 17412 17428 17441 17467 17481 17497 17523 17533 17564 17576 17610 17614 17627 17641 17667 17698 17704 17713 17726 17737 17740 17753 17766 17773 17783 17798 17811 17816 17836 17850 17852 17868 17882 17895 17932 17935 17967 17994 18000 18031 18046 18058 18062 18081 18090 18121 18124 18134 18145 18151 18155 18166 18177 18177 18188 18211 18218 18240 18252 18263 18266 18275 18301 18304 18315 18326 18329 18338 18349 18358 18366 18381 18393 18404 18419 18435 18448 18476 18480 18488 18500 18507 18511 18522 18540 18567 18574 18580 18611 18611 18642 18649 18657 18672 18684 18685 18702 18719 18724 18734 18747 18757 18760 18774 18794 18797 18821 18831 18834 18870 18882 18895 18903 18923 18938 18972 18979 19012 19028 19052 19060 19086 19101 19120 19126 19161 19164 19178 19190 19195 19207 19226 19241 19253 19276 19285 19291 19302 19313 19342 19348 19375 19377 19389 19402 19410 19420 19428 19449 19463 19463 19474 19485 19491 19507 19517 19518 19534 19547 19551 19558 19570 19578 19591 19607 19620 19638 19643 19653 19664 19665 19690 19698 19705 19716 19726 19727 19739 19754 19761 19775 19787 19803 19814 19816 19824 19835 19842 19847 19877 19887 19899 19904 19910 19922 19931 19932 19950 19962 19966 19974 19985 19993 19996 20007 20020 20024 20036 20049 20056 20060 20082 20082 20092 20116 20134 20143 20157 20169 20173 20199 20208 20211 20223 20235 20245 20263 20271 20298 20298 20309 20326 20764 20767 20780 20793 20800 20805 20818 20829 20829 20840 20853 20860 20882 20891 20893 20917 20920 20929 20945 20954 20959 20970 20983 20984 20995 21013 21021 21037 21047 21049 21060 21084 21094 21106 21121 21135 21169 21186 21217 21241 21251 21267 21277 21282 21295 21306 21307 21346 21375 21415 21431 21438 21472 21491 21507 21509 21539 21547 21553 21582 21615 21619 21626 21637 21668 21693 21764 21775 21799 21819 21844 22686 22697 22707 22718 22728 22739 22749 22760 22770 22793 22820 22866 22877 22887 22899 22933 22943 22964 22984 23001 23011 23013 23023 23045 23066 23076 23090 23103 23158 23170 23192 23202 23223 23233 23244 23254 23265 23277 23288 23308 23318 23328 23349 23382 23392 23404 23416 23423 23429 23442 23464 23507 23518 23541 23573 23584 23595 23616 23626 23637 23649 23660 23671 23682 23690 23697 23710 23721 23722 23748 23782 23797 23808 23811 23820 23831 23838 23842 23855 23872 23884 23895 23900 23905 23927 23927 23943 23957 23960 23987 23990 24002 24014 24016 24048 24064 24075 24075 24100 24107 24128 24138 24140 24151 24162 24165 24174 24191 24200 24204 24228 24251 24257 24280 24290 24292 24314 24318 24326 24337 24348 24353 24369 24382 24392 24410 24415 24429 24445 24446 24457 24468 24472 24500 24503 24533 24535 24544 24555 24562 24589 24618 24622 24629 24639 24648 24650 24661 24674 24679 24703 24710 24715 24738 24739 24749 24764 24773 24779 24800 24801 24827 24835 24863 24866 24876 24889 24898 24916 24921 24950 24950 24962 24978 24984 24994 25007 25038 25046 25056 25064 25095 25096 25119 25125 25130 25141 25151 25152 25184 25191 25204 25213 25227 25241 25252 25267 25274 25279 25290 25301 25324 25331 25340 25362 25364 25376 25387 25389 25398 25420 25427 25451 25451 25462 25472 25477 25483 25511 25535 25538 25557 25566 25570 25586 25600 25610 25621 25627 25655 25656 25672 25685 25689 25696 25707 25715 25745 25748 25758 25769 25776 25792 25805 25817 25834 25839 25858 25867 25868 25879 25889 25892 25929 25932 25944 25956 25957 25986 26008 26018 26019 26042 26046 26065 26076 26079 26093 26104 26107 26116 26133 26137 26148 26167 26179 26190 26195 26201 26224 26238 26259 26268 26279 26289 26314 26317 26329 26352 26356 26367 26379 26379 26390 26403 26410 26444 26445 26468 26472 26493 26505 26522 26534 26535 26561 26567 26583 26596 26597 26607 26618 26622 26653 26656 26671 26683 26686 26713 26717 26728 26744 26744 26773 26778 26785 26807 26809 26841 26860 26868 26871 26894 26896 26930 26935 26962 26962 26973 26984 26991 27002 27015 27024 27027 27038 27049 27051 27073 27085 27090 27115 27115 27139 27144 27151 27171 27183 27207 27210 27231 27241 27246 27274 27275 27297 27302 27333 27336 27358 27371 27375 27402 27405 27420 27435 27437 27458 27465 27469 27494 27495 27511 27530 27538 27549 27560 27561 27572 27584 27588 27614 27622 27650 27675 27683 27690 27711 27736 27739 27774 27788 27801 27810 27821 27828 27852 27863 27864 27886 27890 27897 27907 27919 27922 27937 27949 27951 27961 27981 27985 27997 28012 28036 28041 28047 28058 28067 28100 28102 28111 28122 28130 28135 28145 28156 28157 28171 28185 28190 28196 28208 28218 28219 28241 28245 28278 28282 28304 28306 28328 28337 28345 28367 28379 28394 28428 28431 28443 28456 28483 28487 28503 28517 28517 28528 28544 28551 28574 28594 28605 28607 28627 28634 28638 28664 28690 28696 28713 28722 28735 28755 28766 28777 28785 28800
];
Y = [501.57 506.49 494.48 495.8 503.9 489.38 496.78 504.66 503.5 495.75 498.07 484.9 497.07 497.07 487.87 495.64 483.88 493.74 491.53 485.17 485.8 485.55 486.72 489.19 491.24 492.91 490.11 491.54 496.63 496.19 489.4 498.43 498.95 492.7 498.98 497.47 492.9 491.46 483.83 496.97 503.37 493.01 510.94 494.94 500.48 496.53 499.62 490.11 504.93 496.33 498.07 508.41 499.88 494.15 505.11 518.41 501.32 500.55 510.31 485.78 485.78 499.11 493.78 493.36 486.26 493.9 486.07 488.58 487.29 497.49 492.32 506.45 504.18 486.82 486.82 501.74 495.11 501.44 502.57 493.62 498.44 485.89 499.82 505.55 497.99 511.11 510.38 496.39 492.61 487.17 493.84 496.09 492.33 503.68 504.48 489.6 490.95 504.7 486.56 498.36 514.73 503.53 510.8 497.44 511.7 508.12 501.75 489.17 496.38 489.2 493.05 498.79 480.61 498.21 495.85 480.66 490.78 507.62 485.02 495.26 489.55 488.85 485.71 492.87 487.13 498.36 485.9 479.01 485.51 495.62 522.53 483.83 487.1 498.12 487.63 491.9 495.48 500.67 486.85 486.46 493.38 497.8 495.66 497.74 493.73 491.72 494.52 498.78 493.66 492.36 517.45 499.29 495.51 487.92 508.34 500.32 502.79 490.19 514.71 495.11 501.08 493.08 502.62 503.26 507.01 493.87 482.7 482.7 504.62 501.58 495.69 510.36 503.09 497.54 492.23 501.02 506.06 496.77 509.89 517.97 497.06 497.06 502.34 491.5 494.51 502.28 519.48 493.99 493.19 506.03 497.39 496.25 491.46 486.25 506.44 511.96 498.61 496.37 511.52 487.42 501.13 14.8 34.99 0.01 0 512.97 488.05 519.29 33.39 8.96 7.43 275.77 421.15 412.58 453.05 431.62 420.33 419.76 438.13 453.81 460.72 449.49 462.4 470.46 475.9 480.23 481.52 483.6 489.79 488.51 478.11 497.81 498.69 488.65 500.26 497.73 525.43 504.22 505.37 493.72 493.72 507.42 497.08 495.13 490.73 499.13 502.55 508.56 503.13 502.69 496.17 498.82 498.14 505.89 498.48 495.37 502.22 514.14 505.68 503.14 511.81 514.73 500.25 502.37 493.56 499.81 495.37 494.65 491.23 500.69 499.71 506.46 511.06 499.52 499.52 489.36 498.76 502.75 516.7 500.41 506.08 488.48 494.66 493.74 260.85 2.77 0.01 0 245.69 500.48 33.61 5.81 0 0 7.89 -0.41 416.91 406.62 453.98 491.86 489.79 484.79 481.76 507.9 500.48 492.75 506.92 496.29 500.19 502.61 490.49 485.16 510.95 498.15 501.26 492.95 516.24 507.02 504.85 501.49 486.01 508.52 492.93 501.5 505.92 495.35 494.67 503.95 492.25 505.86 499.58 491.11 497.89 499.98 505.47 497.22 492.64 496.92 491.14 505.15 511.41 504.2 498.59 489.21 472.45 497.76 506.26 509.17 505.87 499.18 503.99 490.6 508.56 496.59 499.42 505.74 492.85 491.26 504.15 497.62 496.65 133.34 0 0 7.73 -4.57 8.15 437.69 458.37 470.85 472.28 480.01 461.13 471.89 474.25 492.49 490.98 503.41 491.43 483.03 497.56 490.38 488.85 502.01 502.68 478.24 497.61 500.53 484.29 496.83 495.79 501.38 484.33 499.64 492.51 482.09 490.92 490.92 513.9 494.7 510.13 490.16 499.93 497.38 482.56 494.69 490.67 493.74 483.7 498.28 508.42 490.71 466.91 482.69 489.03 499.39 501.83 512.06 494.25 489.12 485.02 486.29 503.16 511.5 495.73 511.3 497.51 498.06 508.8 507.7 490.78 500.34 492.58 492.58 506.76 492 496.13 512.73 512.09 503.81 512.9 509.81 485.46 486.25 501.27 490.68 490.13 504.41 495.17 511.69 499.39 501.75 486.22 492.72 506.64 510.52 512.54 489.3 498.21 503.13 511.14 506.84 494.87 483.18 484.51 475.93 494.74 505.07 496.46 496.16 491.42 511.98 486.57 520.92 500.57 490.4 511.93 510.62 483.11 497.95 497.06 510.5 510.9 502.16 494.13 499.87 488.83 502.94 497.57 508.85 509.33 494.2 501.69 494.69 507.52 507.97 497.68 498.09 506.66 481.48 498.18 505.3 508.12 510.4 505.2 508.28 492.97 500.7 500.63 486.14 495.99 493.21 489.86 498.7 498.28 509.05 496.17 496.11 484.64 497.22 490.33 491.06 476.77 497.31 490.45 508.3 512.36 506.58 492.26 499.26 510.97 496.14 496.14 504.44 488.36 501.89 495.09 500.33 500.27 493.44 504.75 504.03 486.82 492.72 481.51 515.34 487.77 490.94 496.97 511.37 512.72 506.85 498.66 482.93 489.32 494.39 494.39 506.13 474.89 485.93 488.34 505.55 496.57 499.19 518.46 511.62 515.82 497.07 498.99 506.29 502.66 513.09 497.71 495.48 477.71 508.39 505.5 499.34 42.99 1.02 0 492.52 484.36 521.84 40.59 5.33 2.92 251.14 244.87 363.86 432.7 438.28 412.37 417.55 417.55 434.14 440.32 438.22 451.22 465.72 454.64 478.34 487.94 481.71 476.77 469.46 478.78 478.78 486.58 471.47 477.39 477.7 478.59 472.28 490.92 499.61 475.41 461.76 495.32 495.21 504.58 516.18 503.61 490.21 507.73 502.87 498.14 509.93 508.58 499.66 491.99 481.64 477.95 482.72 487.57 501.01 509.76 497.35 516.36 486.48 496.47 496.47 478.19 490.81 489.82 499.99 505.93 508.23 498.7 506.73 500.36 492.81 478.95 498.2 506.46 513.72 494.31 504.65 502.93 508.5 493.68 504.32 504.32 484.85 499.3 497.62 490.99 481.85 498.27 488.94 477.31 482.73 489.82 499.8 486.3 493.78 504.25 492.24 508.84 503.58 497.13 503.6 513.53 486.39 485.55 499.64 503.39 488.14 496.89 504.64 497.54 497.5 490.98 493.76 502.33 508.7 479.93 481.9 498.47 487.9 496.56 515.16 507.46 498.19 493.76 492.86 502.55 507.49 509.32 492.94 477.34 512.7 503.21 502.39 495.21 496.81 490.47 507.14 489.89 500.19 498.63 499.9 509.12 503.91 503.94 514.05 501.07 505.16 512.08 504.69 491.69 490.62 504.78 504.17 504.87 491.19 501.06 505.05 492.48 500.58 502.51 497.17 479.77 505.65 498.82 516.23 509.47 508.29 501.39 503.02 512.33 495.09 506.22 505.01 500.95 509.44 511.77 497.19 508.37 508.37 498.04 512.26 504.54 527.66 514.49 501.93 498.92 485.42 486.93 492.67 504.29 496.03 495.83 510.54 503.76 491.38 489.91 505.66 510.71 513.83 505.89 492.58 496.72 499.22 497.55 507.71 500.79 513.96 505.96 507.15 499.3 511.56 493.72 499.96 495.88 487.22 487.26 500.91 507.24 493.25 498.87 495.04 519.61 517.04 506.78 481.42 491.99 508.66 512.82 493.15 485.67 503.41 502.49 497.75 505.62 498.55 484.99 489.35 499.19 494.57 502.18 506.82 495.48 502.62 500.34 509.71 499.54 487.29 488.66 498.24 502.05 511.89 504 503.71 511.54 493.88 506.49 514.53 498.55 503.4 480.13 480.19 490.26 502.94 502.95 513.62 500.78 505.66 494.31 490.43 485.56 503.89 485.22 487.11 500.99 509.56 514.44 502.36 497.83 509.38 498.22 505.47 515.01 486.39 503.9 505.14 510.03 487.04 492.86 469.83 485.1 494.2 506.9 507.87 492.99 512.61 507.17 504.11 513.92 501.3 495.45 500.9 490.34 507.6 503.34 497.69 486.56 480.18 490.56 491.43 507.89 501.06 491.39 495.18 513.83 500.21 506.41 506.69 513.75 513.75 490.58 501.95 498.93 495.93 492.79 54.32 9.72 0.1 0 151.87 538.54 523.17 135.74 23.73 18.44 8.09 174.94 246.91 352.23 429.8 447.52 415.2 422.38 430.3 454.48 439.96 445.87 438.97 464.28 458.84 474.5 465.26 471.04 473.4 489.99 491.04 485.06 482.9 477.03 482.92 502.33 489.83 510.34 493.09 483.29 488.65 474.57 483.5 501.92 497.2 492.11 490.64 498.87 485.57 496.4 496.01 502.28 505.91 492.64 500.22 494.16 498.26 490.29 502.55 493.81 518.89 503.62 498.03 499.63 510.13 482.04 491.53 497.58 505.4 494.66 482.67 500.96 71.45 0.1 0 509.79 491.7 257.19 40.62 9.47 112.49 302.74 395.69 451.64 416.83 441.5 458.66 442.17 450.94 477.9 471.13 483.18 495.59 480.32 491.14 494.6 498.89 492.24 487.13 499.67 504.95 511.72 501.08 481.44 498.22 492.61 500.45 481.01 496.45 504.06 495.75 502.87 485.58 505.99 489.14 481.53 501.66 491.21 501 492.34 504.44 510.57 507.27 504.62 510.61 494.94 509.3 500.32 493.11 504.66 496.15 504.27 494.39 484.19 502.01 491.6 499.65 487.86 511.28 495.18 494.96 481.96 489.56 496.77 509.5 496.79 502.91 497.17 504.83 511.49 491.19 502.24 497.36 486.36 496.18 472.74 494.54 493.55 503.62 483.19 480.11 493.72 504.75 507.28 480.79 480.79 487.57 494.08 494.03 492.26 502.36 495.82 491.07 489.65 491.01 496.91 509.43 509.43 493.83 509.22 503.68 502.32 487.45 505.28 499.13 496.66 489.66 479.86 502.17 486.85 489.74 483.2 511.55 495.92 487.21 496.43 496.43 506.55 507.14 496.3 490.64 489.17 502.49 510.98 515.66 504.17 492.97 494.22 503 503 481.99 482.52 496.17 490.87 505.81 493.55 499.57 495.46 488.55 471.96 497.01 491.04 504.74 488.74 510.57 500.97 493.36 493.36 458.82 468.82 509.66 503.94 498.89 496.42 479.78 491.18 493.18 513.83 497.73 497.73 489.74 492.83 483.28 488.44 488.44 503.81 509.52 496.9 477.35 479.44 497.52 489.13 493.73 479.84 486.69 484.62 496.23 483 511.07 510.01 503.93 483.29 504.36 496.19 492.74 509.11 497.57 506.63 504.91 506.17 499.63 493.71 489.81 486.99 501.15 497.11 489.22 496.96 496.55 498.43 504.68 496.82 490.45 490.78 496.38 506.62 502.99 495.34 476.97 489.9 511.89 494.23 496.25 510.32 510.5 523.1 504.86 493.33 493.33 502.2 505.38 487.4 494.72 486.48 484.37 479.36 487.31 499.81 482.86 489.11 495.15 499.07 482.52 481.4 488.81 500.11 489.08 489.36 488.53 504.14 497.65 497.5 510.14 502.09 502.08 493.11 500.5 508.88 479.81 481.55 486.87 498.51 500.94 505.73 504.05 488.58 484.51 492.82 493.81 508.5 489.44 491.19 483.56 488.6 507.85 495.17 513.4 513.23 493.59 489.1 483.08 498.03 492.52 491.85 492.44 498.67 486.24 489.06 500.55 501.12 491.3 508.04 503.66 493.52 497.72 490.23 496.17 486.75 502.21 494.37 497.31 487.81 487.82 501.97 512.81 494.79 492.66 504.08 495.5 493.69 496.53 501.35 487.03 488.87 480.83 499.11 508.98 500.29 491.61 493.13 487 501.81 501.1 494.94 494.89 481.15 474.04 494.36 508.18 501.08 502.09 483.34 487.36 507.78 495.48 484.9 484.9 490.94 485.41 500.53 504.11 488.98 489.67 497.61 479.99 488.6 498.11 488.44 499.65 499.65 489.94 479.93 486.18 473.17 480.54 483.26 498.61 497.98 485.92 480.92 479.08 488.56 491.53 478.26 477.53 471.62 491.79 489.53 475.76 468.38 489.21 480.44 502.37 498.29 507.35 495.36 509.76 485.01 485.01 500.2 482.39 480.41 500.98 488.1 483.47 500.71 492.31 479.51 466.32 474.02 484.31 478.28 472.23 486.62 476.43 478.32 487.85 485.62 479.57 471.71 494.71 492.71 502.59 486.92 490.73 490.35 478.58 486.15 485.49 494.05 494.59 503.47 495.58 497.86 485.08 514.55 500.18 488.72 496.26 500.69 495.65 485.01 498.5 490.01 481.31 481.82 495.74 501.44 466.03 490.97 497.16 482.24 486.62 505.16 496.14 493.67 507.4 489.62 488.76 476.91 485.76 481.65 477.97 500.93 488.14 475.49 496.6 485.36 481.55 494.41 490.39 477.49 482.73 506.57 495.66 500.84 495.06 486.33 487.47 492.25 490.68 501.6 501.6 487.72 491.12 493.36 493.45 479.52 491.34 488.81 482.5 489.54 489.6 491.07 477.6 489.25 479.54 503.74 483.42 494.28 497.27 487.73 499.41 504.02 493.71 494.37 483.11 489.19 478.23 476.93 494.77
];
X1= 0:5:28800;
Y1 = interp1(X,Y,X1, 'spline');

  0 Comments

Sign in to comment.

Accepted Answer

Stephen Cobeldick
Stephen Cobeldick on 28 Nov 2019
Edited: Stephen Cobeldick on 28 Nov 2019
Your grid data points are not unique (which they must be to perform interpolation):
>> U = unique(X(:));
>> C = hist(X(:),U);
>> U(C>1)
ans =
408
897
4960
5319
13890
14208
14642
14994
15750
16265
16624
16977
18177
18611
19463
20082
20298
20829
23927
24075
24950
25451
26379
26744
26962
27115
28517

More Answers (0)

Sign in to answer this question.