Cody

# Problem 713. Find the maximum number of decimal places in a set of numbers

Solution 1962731

Submitted on 6 Oct 2019 by Le Manh Long Le Manh Long
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
x = [1.000 1.04 0.22 10.1; 2.05 2.33 4.1 1000.31; 5.00010 6.429 7.492 8.0]; y_correct = 4; assert(isequal(find_max_sigdec(x),y_correct))

h = 1.0e+03 * 0.0010 0.0020 0.0050 0.0010 0.0023 0.0064 0.0002 0.0041 0.0075 0.0101 1.0003 0.0080 f = 0 f = 0 0.0500 f = 0 0.0500 0.0001 f = 0 0.0500 0.0001 0.0400 f = 0 0.0500 0.0001 0.0400 0.3300 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 0.1000 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 0.1000 0.4920 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 0.1000 0.4920 0.1000 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 0.1000 0.4920 0.1000 0.3100 f = 0 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 0.1000 0.4920 0.1000 0.3100 0 k = 0.0500 0.0001 0.0400 0.3300 0.4290 0.2200 0.1000 0.4920 0.1000 0.3100 t = 4 t = 4 6 t = 4 6 4 t = 4 6 4 4 t = 4 6 4 4 5 t = 4 6 4 4 5 4 t = 4 6 4 4 5 4 3 t = 4 6 4 4 5 4 3 5 t = 4 6 4 4 5 4 3 5 3 t = 4 6 4 4 5 4 3 5 3 4 y = 4

2   Pass
N = randi(6,1); x1 = rand(1,100); for k = 1:100 x(1,k) = round(x1(1,k)*10^N)/10^N; end assert(isequal(find_max_sigdec(x), N))

h = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 36 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 0.2200 0.7800 0.0400 Columns 37 through 54 0.5300 0.4900 0.5900 0.1500 0.2000 0.9400 0.0200 0.2000 0.8700 0.5000 0.8200 0.0600 0.8200 0.1900 0.1400 0.9000 0.4000 0.1600 Columns 55 through 72 0.9800 0.3900 0.2900 0.0800 0.9000 0.7000 0.8500 0.6500 0.4800 0.4000 0.4300 0.4200 0.8600 0.2200 0.6700 0.5500 0.4300 0.3900 Columns 73 through 90 0.2600 0.8600 0.1900 0.6900 0.8100 0.6500 0.4700 0.7000 0.7500 0.9300 0.2600 0.0200 0.5900 0.2900 0.5000 0.7000 0.5800 0.7800 Columns 91 through 100 0.8900 0.1100 0.0700 0.2900 0.1400 0.4300 0.6200 0.4300 0.8700 0.3900 f = 0.6600 f = 0.6600 0.5200 f = 0.6600 0.5200 0.4200 f = 0.6600 0.5200 0.4200 0.4600 f = 0.6600 0.5200 0.4200 0.4600 0.9900 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 f = 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Column 19 0.0600 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 20 0.0600 0.6300 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 21 0.0600 0.6300 0.5000 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 22 0.0600 0.6300 0.5000 0.8000 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 23 0.0600 0.6300 0.5000 0.8000 0.2000 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 24 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 25 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 26 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 27 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 28 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 29 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 30 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 31 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 32 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 33 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 34 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 0.2200 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 35 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 0.2200 0.7800 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 36 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 0.2200 0.7800 0.0400 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 36 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 0.2200 0.7800 0.0400 Column 37 0.5300 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.4600 0.9900 0.4300 0.8500 0.5000 0.6700 0.2100 0.2700 0.5600 0.3200 0.4000 0.1000 0.2400 0.2300 0.7400 Columns 19 through 36 0.0600 0.6300 0.5000 0.8000 0.2000 0.4500 0.8800 0.4300 0.5800 0.6000 0.4000 0.9200 0.8900 0.9200 0.5300 0.2200 0.7800 0.0400 Columns 37 through 38 0.5300 0.4900 f = Columns 1 through 18 0.6600 0.5200 0.4200 0.460...

3   Pass
N = randi(6,1); a = rand(5,20); for k = 1:20 for m = 1:5 x(m,k) = round(a(m,k)*10^N)/10^N; end end assert(isequal(find_max_sigdec(x), N))

h = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 36 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 0.0290 0.0690 0.4040 Columns 37 through 54 0.1910 0.0380 0.9820 0.3630 0.6960 0.2140 0.9430 0.7610 0.3440 0.7580 0.6360 0.3810 0.9980 0.0440 0.5180 0.9950 0.7700 0.8660 Columns 55 through 72 0.8670 0.3770 0.1010 0.6880 0.4260 0.8860 0.8620 0.4110 0.3120 0.8920 0.8890 0.3670 0.2400 0.0280 0.8110 0.1060 0.9380 0.6800 Columns 73 through 90 0.7420 0.8060 0.8790 0.4150 0.9720 0.0990 0.6230 0.2720 0.5700 0.6740 0.9190 0.8350 0.9650 0.4720 0.1470 0.6980 0.6820 0.0570 Columns 91 through 100 0.5090 0.4310 0.5270 0.2590 0.8560 0.4450 0.0920 0.5250 0.3220 0.7970 f = 0.1460 f = 0.1460 0.2330 f = 0.1460 0.2330 0.0690 f = 0.1460 0.2330 0.0690 0.1850 f = 0.1460 0.2330 0.0690 0.1850 0.9010 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 f = 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Column 19 0.6670 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 20 0.6670 0.0980 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 21 0.6670 0.0980 0.4830 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 22 0.6670 0.0980 0.4830 0.6080 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 23 0.6670 0.0980 0.4830 0.6080 0.0160 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 24 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 25 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 26 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 27 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 28 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 29 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 30 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 31 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 32 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 33 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 34 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 0.0290 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 35 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 0.0290 0.0690 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 36 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 0.0290 0.0690 0.4040 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 36 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 0.0290 0.0690 0.4040 Column 37 0.1910 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.1850 0.9010 0.7580 0.8790 0.5130 0.8870 0.0270 0.4630 0.0210 0.9870 0.3980 0.0450 0.9880 0.4940 0.2340 Columns 19 through 36 0.6670 0.0980 0.4830 0.6080 0.0160 0.5780 0.4420 0.3000 0.2360 0.0240 0.2840 0.9270 0.7180 0.6560 0.4280 0.0290 0.0690 0.4040 Columns 37 through 38 0.1910 0.0380 f = Columns 1 through 18 0.1460 0.2330 0.0690 0.185...

4   Pass
x = 1; assert(isequal(find_max_sigdec(x), 0))

h = 1 f = 0 y = 0