Cody

Solution 321447

Submitted on 19 Sep 2013 by James Kristoff
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% y_correct = 1; assert(isequal(your_fcn_name,y_correct))

y = 1 ans = []

2   Pass
%% y_correct = 1:100; assert(isequal(your_fcn_name,y_correct))

y = Columns 1 through 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Columns 17 through 32 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Columns 33 through 48 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Columns 49 through 64 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Columns 65 through 80 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 Columns 81 through 96 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 Columns 97 through 100 97 98 99 100 ans = []

3   Pass
%% y_correct = rand(100); assert(isequal(your_fcn_name,y_correct))

y = Columns 1 through 10 0.8219 0.9924 0.8264 0.8656 0.0420 0.9793 0.1432 0.3092 0.6069 0.3109 0.9213 0.2099 0.9463 0.8362 0.8834 0.8812 0.1888 0.1248 0.2714 0.2177 0.2885 0.8015 0.3335 0.0968 0.6033 0.6691 0.2782 0.1230 0.3528 0.6886 0.5712 0.6406 0.1722 0.7762 0.6542 0.2018 0.3310 0.6225 0.5780 0.9869 0.3874 0.5560 0.6260 0.9975 0.9853 0.4693 0.7532 0.2012 0.8009 0.5118 0.5035 0.0769 0.4254 0.6767 0.4675 0.3762 0.6421 0.7410 0.0119 0.5688 0.0929 0.2212 0.6033 0.3914 0.0923 0.9023 0.7734 0.1105 0.0487 0.3401 0.4259 0.3234 0.5626 0.3538 0.6223 0.2668 0.5226 0.7367 0.2528 0.5964 0.5056 0.4541 0.6375 0.2047 0.8832 0.3164 0.7540 0.3536 0.3844 0.5987 0.4817 0.4367 0.8657 0.6012 0.6453 0.0811 0.9537 0.8898 0.6954 0.1555 0.9577 0.5538 0.7814 0.2101 0.4885 0.4604 0.7044 0.3244 0.8622 0.7388 0.8812 0.8915 0.3619 0.7492 0.8191 0.7367 0.9932 0.1001 0.8191 0.6793 0.1014 0.8465 0.0885 0.9523 0.6360 0.9554 0.8426 0.2401 0.1855 0.2631 0.4113 0.2957 0.3633 0.7137 0.5351 0.2852 0.8987 0.1842 0.9545 0.1226 0.5519 0.8590 0.3670 0.0078 0.8072 0.2002 0.5093 0.7309 0.4224 0.8370 0.5899 0.0624 0.4976 0.2484 0.9584 0.0244 0.3926 0.2741 0.2561 0.9962 0.1389 0.9128 0.5655 0.4027 0.0818 0.0026 0.1089 0.4876 0.8294 0.6549 0.6388 0.2158 0.8596 0.5262 0.0424 0.9629 0.7182 0.5015 0.8706 0.7224 0.9641 0.2921 0.7254 0.2497 0.1085 0.4768 0.3280 0.1282 0.1386 0.5085 0.4710 0.5183 0.7645 0.7757 0.1725 0.5798 0.5315 0.1362 0.1240 0.2184 0.2195 0.4595 0.2544 0.2357 0.6752 0.6313 0.7314 0.3316 0.5997 0.1558 0.7859 0.9522 0.5396 0.6316 0.9619 0.7622 0.6810 0.6902 0.6313 0.3341 0.3560 0.8331 0.8720 0.6764 0.5190 0.7371 0.0329 0.1870 0.1308 0.0181 0.3876 0.2785 0.6606 0.7454 0.3600 0.6531 0.7538 0.3554 0.1815 0.1728 0.7145 0.9711 0.0524 0.9089 0.1795 0.2857 0.8238 0.6887 0.9473 0.4972 0.9831 0.5843 0.4347 0.5502 0.7143 0.0551 0.6251 0.5665 0.3577 0.0411 0.4366 0.2792 0.0172 0.1023 0.8376 0.5184 0.4408 0.8880 0.5256 0.6794 0.4116 0.4336 0.5387 0.4583 0.8417 0.3664 0.7434 0.2494 0.9550 0.9729 0.7929 0.7612 0.6775 0.8956 0.3968 0.1806 0.6515 0.2916 0.0482 0.6763 0.9108 0.0045 0.3293 0.8033 0.8328 0.3534 0.9153 0.7545 0.0658 0.3216 0.8463 0.9793 0.2854 0.9010 0.9300 0.1443 0.5734 0.4896 0.9423 0.5778 0.6773 0.3466 0.2139 0.6957 0.4645 0.4706 0.2038 0.6599 0.2401 0.1382 0.7494 0.9605 0.2447 0.9185 0.3364 0.8579 0.1497 0.4969 0.0200 0.0589 0.6796 0.8294 0.3976 0.3811 0.7833 0.1923 0.3435 0.4205 0.0083 0.6367 0.0148 0.8118 0.2892 0.7561 0.4565 0.5797 0.2172 0.7641 0.5669 0.1917 0.2919 0.1861 0.1711 0.6997 0.7453 0.3461 0.1094 0.8688 0.5084 0.5438 0.0366 0.5967 0.9325 0.4248 0.4880 0.2048 0.3815 0.3782 0.4741 0.6967 0.3731 0.3459 0.3771 0.3768 0.8968 0.4988 0.7896 0.6618 0.3004 0.9838 0.7110 0.5318 0.1236 0.9215 0.9799 0.2037 0.4816 0.2720 0.2322 0.0311 0.3761 0.3338 0.2613 0.2037 0.8227 0.9068 0.0794 0.5793 0.1754 0.7921 0.9830 0.7022 0.3074 0.4417 0.9590 0.8849 0.6188 0.0584 0.3841 0.3076 0.7730 0.8944 0.7614 0.7036 0.7810 0.4438 0.2605 0.3333 0.5464 0.1394 0.6318 0.6866 0.9179 0.6074 0.0374 0.9562 0.3123 0.2747 0.3543 0.3780 0.4805 0.9509 0.1704 0.6413 0.7242 0.8104 0.7075 0.8909 0.8369 0.2432 0.1091 0.6201 0.9884 0.4408 0.2574 0.2645 0.7705 0.5100 0.7458 0.7589 0.3321 0.0925 0.2454 0.0249 0.3662 0.4755 0.1696 0.8977 0.7641 0.1048 0.9300 0.4192 0.4292 0.9497 0.1633 0.3034 0.1304 0.2768 0.4312 0.8735 0.0501 0.3482 0.2398 0.0991 0.1490 0.8946 0.3153 0.6387 0.7799 0.8712 0.0647 0.4857 0.2289 0.3379 0.0771 0.9673 0.5778 0.0713 0.9284 0.0568 0.8937 0.6602 0.5140 0.3417 0.8237 0.4198 0.2421 0.6002 0.1932 0.9843 0.9087 0.4939 0.7011 0.4982 0.5727 0.8991 0.0030 0.2255 0.2232 0.8890 0.7653 0.5924 0.4752 0.4214 0.8349 0.3570 0.3258 0.7980 0.4718 0.5736 0.5553 0.8131 0.4511 0.7732 0.7292 0.7044 0.9344 0.4444 0.4080 0.6126 0.4212 0.4114 0.4694 0.9743 0.6771 0.3944 0.4087 0.7250 0.0312 0.0909 0.4865 0.0898 0.5019 0.3426 0.3875 0.1798 0.0994 0.8083 0.0907 0.0514 0.3294 0.1173 0.0303 0.8317 0.7828 0.2797 0.2595 0.1671 0.2471 0.3238 0.2764 0.9192 0.7095 0.5163 0.6220 0.0804 0.9511 0.7225 0.1328 0.9687 0.5522 0.0049 0.9859 0.8632 0.4880 0.8006 0.8249 0.9200 0.2759 0.6901 0.2995 0.4689 0.0584 0.4222 0.9517 0.8249 0.9573 0.9559 0.1172 0.0189 0.1191 0.8254 0.5321 0.2960 0.5960 0.5145 0.2612 0.5340 0.6984 0.9937 0.6872 0.9179 0.7837 0.4100 0.9250 0.9867 0.3128 0.5297 0.5035 0.7963 0.5028 0.2352 0.1513 0.1512 0.1490 0.1170 0.1165 0.8711 0.3816 0.1994 0.1703 0.4380 0.6701 0.9688 0.3640 0.6305 0.9502 0.9761 0.9849 0.6874 0.8721 0.2597 0.5820 0.3054 0.3946 0.0658 0.7234 0.4776 0.9188 0.2370 0.9451 0.8078 0.9988 0.7658 0.2732 0.0931 0.5638 0.0247 0.0819 0.9241 0.0813 0.4131 0.1834 0.9605 0.8726 0.3641 0.8315 0.7349 0.2643 0.4659 0.7489 0.9990 0.0654 0.7836 0.5633 0.7320 0.9094 0.8602 0.0119 0.3512 0.6948 0.7382 0.0883 0.1195 0.9834 0.6642 0.3758 0.8428 0.9076 0.9107 0.9841 0.1469 0.3064 0.7501 0.4753 0.3816 0.2441 0.2471 0.3353 0.4281 0.4309 0.5773 0.1668 0.2863 0.7794 0.6558 0.8798 0.0784 0.4225 0.7942 0.9638 0.8588 0.1092 0.4156 0.6447 0.7901 0.1342 0.2175 0.6181 0.9958 0.5493 0.1526 0.5068 0.1221 0.9586 0.2885 0.7982 0.9493 0.6799 0.3618 0.5159 0.1932 0.2116 0.5415 0.8277 0.8348 0.1255 0.9657 0.1294 0.5737 0.1234 0.2212 0.8747 0.0703 0.0373 0.1878 0.5283 0.7701 0.0445 0.0000 0.1991 0.1421 0.7008 0.8922 0.0044 0.5387 0.7100 0.9306 0.3549 0.1308 0.4939 0.4958 0.6139 0.1738 0.9411 0.4560 0.9939 0.5126 0.4505 0.1702 0.9485 0.8752 0.8063 0.2581 0.2213 0.2251 0.1118 0.4671 0.1755 0.5501 0.0400 0.3932 0.3414 0.5996 0.4439 0.5878 0.2353 0.7169 0.8503 0.5981 0.8541 0.8723 0.4554 0.4383 0.2502 0.2187 0.9032 0.7098 0.0074 0.6523 0.8039 0.6395 0.6322 0.8116 0.5760 0.3759 0.2218 0.8815 0.0464 0.1191 0.9732 0.3349 0.2224 0.7851 0.9193 0.8080 0.0980 0.2369 0.1360 0.2924 0.1732 0.8095 0.5689 0.1509 0.8010 0.8370 0.5911 0.9660 0.5119 0.2599 0.5871 0.9306 0.5186 0.8980 0.9289 0.3478 0.6435 0.3022 0.3420 0.6838 0.2982 0.4317 0.9645 0.1901 0.2741 0.9001 0.3687 0.2731 0.4549 0.5588 0.2821 0.3827 0.9667 0.5504 0.9377 0.8428 0.8373 0.9457 0.4269 0.0744 0.7762 0.0417 0.3577 0.9477 0.7913 0.1162 0.2190 0.5823 0.0686 0.8429 0.4859 0.1633 0.1382 0.7930 0.2517 0.2127 0.5075 0.1390 0.9810 0.6418 0.3327 0.0255 0.0402 0.2715 0.8618 0.0356 0.9381 0.4531 0.4463 0.4958 0.3718 0.0981 0.8712 0.8664 0.7714 0.0386 0.5865 0.5407 0.1050 0.3344 0.8067 0.0288 0.6036 0.6088 0.7859 0.0125 0.5320 0.3988 0.1409 0.7499 0.0479 0.3161 0.6315 0.8535 0.1829 0.2578 0.0339 0.5114 0.3583 0.8372 0.3167 0.1675 0.6009 0.7750 0.3926 0.0858 0.2677 0.4163 0.8260 0.0568 0.6349 0.4229 0.1363 0.8400 0.5146 0.2266 0.0671 0.5508 0.0045 0.3034 0.5418 0.0349 0.2608 0.4755 0.0683 0.1097 0.8120 0.9471 0.9945 0.1866 0.3914 0.2468 0.7306 0.7045 0.0640 0.6560 0.8458 0.6530 0.9643 0.8189 0.2270 0.5106 0.5665 0.9806 0.6408 0.3745 0.7481 0.1697 0.2443 0.0577 0.3021 0.9435 0.8318 0.6977 0.6961 0.1422 0.4276 0.7666 0.2695 0.4187 0.6355 0.2300 0.5643 0.7727 0.4776 0.5176 0.2805 0.9281 0.3661 0.3477 0.8444 0.4606 0.9747 0.8456 0.6094 0.4055 0.4870 ...

4   Pass
%% y_correct = randi(100); assert(isequal(your_fcn_name,y_correct))

y = 63 ans = []

5   Pass
%% y_correct = 'lol'; assert(isequal(your_fcn_name,y_correct))

y = lol ans = []