x=[80 107 51 82 97] x = 80 107 51 82 97 barbar(x) ??? Undefined function or variable 'barbar'. bar(x) nd=[3 9 11 12 21] nd = 3 9 11 12 21 bar(nd,x) bar(nd,x) shg bar(nd,x,1) bar(nd,x,2) bar(nd,x,100) shg bar(nd,x) colormap([1 0 0.5]) colormap([0 1 0]) colormap([0 0 0]) ans = Columns 1 through 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0625 0 0.125 0 0.1875 0 0.25 0 0.3125 0 0.375 0 0.4375 0 0.5 0 0.5625 0 0.625 0 0.6875 0 0.75 0 0.8125 0 0.875 0 0.9375 0 1 0.0625 1 0.125 1 0.1875 1 0.25 1 0.3125 1 0.375 1 0.4375 1 0.5 1 0.5625 1 0.625 1 0.6875 1 0.75 1 0.8125 1 0.875 1 0.9375 1 1 1 1 1 1 0.9375 1 0.875 1 0.8125 1 0.75 1 0.6875 1 0.625 1 0.5625 1 0.5 1 0.4375 1 0.375 1 0.3125 1 0.25 1 0.1875 1 0.125 1 0.0625 1 0 0.9375 0 0.875 0 0.8125 0 0.75 0 0.6875 0 0.625 0 0.5625 0 Column 3 0.5625 0.625 0.6875 0.75 0.8125 0.875 0.9375 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.9375 0.875 0.8125 0.75 0.6875 0.625 0.5625 0.5 0.4375 0.375 0.3125 0.25 0.1875 0.125 0.0625 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 colormap([0 0.9 1]) colormap([1 0.9 1]) bar(nd,x) colormap([1 0.9 1]) colormap([0 0 0]) ans = Columns 1 through 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0625 0 0.125 0 0.1875 0 0.25 0 0.3125 0 0.375 0 0.4375 0 0.5 0 0.5625 0 0.625 0 0.6875 0 0.75 0 0.8125 0 0.875 0 0.9375 0 1 0.0625 1 0.125 1 0.1875 1 0.25 1 0.3125 1 0.375 1 0.4375 1 0.5 1 0.5625 1 0.625 1 0.6875 1 0.75 1 0.8125 1 0.875 1 0.9375 1 1 1 1 1 1 0.9375 1 0.875 1 0.8125 1 0.75 1 0.6875 1 0.625 1 0.5625 1 0.5 1 0.4375 1 0.375 1 0.3125 1 0.25 1 0.1875 1 0.125 1 0.0625 1 0 0.9375 0 0.875 0 0.8125 0 0.75 0 0.6875 0 0.625 0 0.5625 0 Column 3 0.5625 0.625 0.6875 0.75 0.8125 0.875 0.9375 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.9375 0.875 0.8125 0.75 0.6875 0.625 0.5625 0.5 0.4375 0.375 0.3125 0.25 0.1875 0.125 0.0625 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 bar(nd,x) shg Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. Warning: Requested axes limit range too small; rendering with minimum range allowed by machine precision. pie(x) shg pie3(x) shg pie8(x) ??? Undefined function or variable 'pie8'. pie(x, {'MS' 'HB' 'TM' 'O2' 'OLO'}) shg pie3(x, {'MS' 'HB' 'TM' 'O2' 'OLO'}) shg pie3(x, [0 0 0 0 0],{'MS' 'HB' 'TM' 'O2' 'OLO'}) shg pie3(x, [0 0 0 0 1],{'MS' 'HB' 'TM' 'O2' 'OLO'}) shg pie3(x, [0 1 1 1 1],{'MS' 'HB' 'TM' 'O2' 'OLO'}) shg pie3(x, [0 1 1 1 10],{'MS' 'HB' 'TM' 'O2' 'OLO'}) shg d=[0.1 0.2 0.07] d = Columns 1 through 2 0.1 0.2 Column 3 0.07 q=[0.1 0.2 0.07] q = Columns 1 through 2 0.1 0.2 Column 3 0.07 bar(q) pie(q) pie(d) pie3(10*q) bar(45) pie(45) ht=[15 56 61 72 85 96 100] ht = 15 56 61 72 85 96 100 del x ??? del x | Error: Missing operator, comma, or semicolon. x=rand(1 100) ??? x=rand(1 100) | Error: ")" expected, "numeric value" found. x=rand(1,100) x = Columns 1 through 2 0.950129285147175 0.231138513574288 Columns 3 through 4 0.606842583541787 0.4859824687093 Columns 5 through 6 0.891298966148902 0.762096833027395 Columns 7 through 8 0.456467665168341 0.0185036432482244 Columns 9 through 10 0.821407164295253 0.444703364353194 Columns 11 through 12 0.615432348100095 0.791937037427035 Columns 13 through 14 0.921812970744803 0.738207245810665 Columns 15 through 16 0.176266144494618 0.405706213062095 Columns 17 through 18 0.935469699107605 0.916904439913408 Columns 19 through 20 0.410270206990945 0.893649530913534 Columns 21 through 22 0.0578913047842686 0.352868132217 Columns 23 through 24 0.813166497303758 0.00986130066092356 Columns 25 through 26 0.13889088195695 0.202765218560273 Columns 27 through 28 0.19872174266149 0.603792479193819 Columns 29 through 30 0.27218792496996 0.198814267761062 Columns 31 through 32 0.0152739270290363 0.746785676564429 Columns 33 through 34 0.445096432287947 0.931814578461665 Columns 35 through 36 0.465994341675424 0.418649467727506 Columns 37 through 38 0.846221417824324 0.525152496305172 Columns 39 through 40 0.202647357650387 0.672137468474288 Columns 41 through 42 0.838118445052387 0.0196395138648175 Columns 43 through 44 0.681277161282135 0.379481018027998 Columns 45 through 46 0.831796017609607 0.502812883996251 Columns 47 through 48 0.709471392703387 0.428892365340997 Columns 49 through 50 0.304617366869394 0.189653747547175 Columns 51 through 52 0.193431156405215 0.682223223591384 Columns 53 through 54 0.302764400776609 0.541673853898088 Columns 55 through 56 0.150872976149765 0.697898481859863 Columns 57 through 58 0.378373000512671 0.86001160488682 Columns 59 through 60 0.853655130662768 0.593562912539682 Columns 61 through 62 0.496552449703103 0.89976917516961 Columns 63 through 64 0.821629160735343 0.644910384193844 Columns 65 through 66 0.817974340839245 0.660227556441602 Columns 67 through 68 0.341970618270216 0.289725895856238 Columns 69 through 70 0.341193569414883 0.5340790176266 Columns 71 through 72 0.727113216929677 0.309290159790958 Columns 73 through 74 0.838496044938081 0.568072461007776 Columns 75 through 76 0.370413556632117 0.702739913240377 Columns 77 through 78 0.546571151829106 0.444880204672912 Columns 79 through 80 0.694567240425548 0.621310130795413 Columns 81 through 82 0.794821080200926 0.956843448444877 Columns 83 through 84 0.522590349080708 0.880142207411327 Columns 85 through 86 0.172956141275237 0.979746896788841 Columns 87 through 88 0.2714472586418 0.25232934687399 Columns 89 through 90 0.875741899818074 0.737305988465256 Columns 91 through 92 0.13651874225971 0.011756687353118 Columns 93 through 94 0.893897966445253 0.199138067205738 Columns 95 through 96 0.298723012102214 0.661442576382325 Columns 97 through 98 0.284408589749945 0.469224285211001 Columns 99 through 100 0.0647811229632725 0.988334938277631 x=rand(1,100)*85 x = Columns 1 through 2 49.5372929327046 35.9971818323393 Columns 3 through 4 43.8184989319648 28.3858757975995 Columns 5 through 6 36.797060669072 19.205738792278 Columns 7 through 8 49.2835842262159 64.6310258333693 Columns 9 through 10 45.0349649208656 54.444752414136 Columns 11 through 12 17.7708993772657 32.2845614798172 Columns 13 through 14 66.5829352387556 57.8718888687645 Columns 15 through 16 39.1930857658194 48.2654405564509 Columns 17 through 18 67.5079053666722 5.03052044504104 Columns 19 through 20 51.2438722816944 4.2728483184842 Columns 21 through 22 35.3068631376739 25.9248875452968 Columns 23 through 24 74.3212095849482 1.27580738751238 Columns 25 through 26 65.275783150947 82.521819836728 Columns 27 through 28 84.1570203721103 67.053243839869 Columns 29 through 30 37.2859753705275 42.3564607931208 Columns 31 through 32 18.1868831856741 54.6968444702547 Columns 33 through 34 27.2030240846522 81.6083810313659 Columns 35 through 36 61.7637001645613 35.0160226943348 Columns 37 through 38 63.2880915640232 22.7755163102968 Columns 39 through 40 37.393566313054 79.3373091961151 Columns 41 through 42 58.0832475687712 18.0675884687926 Columns 43 through 44 71.3352504285766 53.4466910020463 Columns 45 through 46 11.3706836202412 17.6062820195152 Columns 47 through 48 51.6119102858601 53.5404671515962 Columns 49 through 50 31.4905302144112 48.8875612190348 Columns 51 through 52 38.3711102748105 3.73110265450724 Columns 53 through 54 2.31073545471735 26.5782290868124 Columns 55 through 56 1.09331884720478 32.6372195220156 Columns 57 through 58 58.064857263391 7.89160924797818 Columns 59 through 60 3.00375753737822 52.0536159167069 Columns 61 through 62 51.7259307040393 1.33958452317881 Columns 63 through 64 1.3901693517497 16.1563400717767 Columns 65 through 66 49.8880701101972 4.89439263965453 Columns 67 through 68 31.2432833002393 53.6733490032777 Columns 69 through 70 60.9989258245843 58.876898551012 Columns 71 through 72 7.14672016378779 38.620187729222 Columns 73 through 74 37.5554052370391 30.0262886750587 Columns 75 through 76 13.0565408144968 57.42979521884 Columns 77 through 78 59.4331328580073 61.8382759835241 Columns 79 through 80 40.6626723813159 47.1615688390425 Columns 81 through 82 10.2890046080952 38.3140849832479 Columns 83 through 84 60.8500505947028 75.891536692389 Columns 85 through 86 23.2137099691371 21.6553901227941 Columns 87 through 88 73.5762956083039 19.7497815033403 Columns 89 through 90 68.414098249835 77.2137911931241 Columns 91 through 92 19.7110170395476 20.3415679798637 Columns 93 through 94 4.22913114605623 6.66264635545383 Columns 95 through 96 54.4693098389515 16.2253584837926 Columns 97 through 98 71.7289074043205 14.7815211192517 Columns 99 through 100 14.5173891680428 84.5151166936832 x=rand(1,100)*85+15 x = Columns 1 through 2 52.3822228404423 43.9040756527337 Columns 3 through 4 41.7084713962424 46.0316628889369 Columns 5 through 6 48.4253618525489 65.2796423184479 Columns 7 through 8 25.1784624409037 18.2409477252266 Columns 9 through 10 53.9808261465213 88.9387247845957 Columns 11 through 12 94.410104107998 37.4781791226883 Columns 13 through 14 28.6255288317603 89.1926968466685 Columns 15 through 16 35.2198261575231 69.895656247874 Columns 17 through 18 97.1854307772591 71.5191530136542 Columns 19 through 20 88.9823872020081 15.8438209048845 Columns 21 through 22 26.6458407951477 84.5942452537136 Columns 23 through 24 51.5641141689862 90.6773465204014 Columns 25 through 26 77.4671980001054 73.4225052863486 Columns 27 through 28 44.4195172579998 29.1129527960636 Columns 29 through 30 28.2270689869496 31.2448864706951 Columns 31 through 32 50.9083797004408 87.7579351188635 Columns 33 through 34 56.671248896363 84.3544553621811 Columns 35 through 36 54.1654356701461 53.8751223210375 Columns 37 through 38 53.3085549387813 50.0386201867032 Columns 39 through 40 91.6368351050458 15.4746348317907 Columns 41 through 42 40.2794827115371 19.1788115731673 Columns 43 through 44 73.9203385267672 70.25904484256 Columns 45 through 46 98.5539614739463 61.9772256927081 Columns 47 through 48 49.0062488464445 31.8970241811161 Columns 49 through 50 68.1420869437224 77.3358381607719 Columns 51 through 52 46.9502659430666 15.8394993463968 Columns 53 through 54 50.6879135363686 79.0619181941549 Columns 55 through 56 82.4791008522471 93.1963625691491 Columns 57 through 58 86.8013276621949 46.2589950098042 Columns 59 through 60 67.7681132047972 77.1585674796393 Columns 61 through 62 31.4809202986968 91.9090484041404 Columns 63 through 64 63.3824887220985 68.7021439838493 Columns 65 through 66 34.9251012097016 61.64648067078 Columns 67 through 68 94.1845849692737 43.4917815675435 Columns 69 through 70 70.7201396760212 48.3118575855653 Columns 71 through 72 68.3217569871397 74.4218117083537 Columns 73 through 74 48.7606360723722 50.1584561037453 Columns 75 through 76 70.693100440232 86.1947334007078 Columns 77 through 78 46.5866827406263 51.1465184710254 Columns 79 through 80 65.5463865734683 63.0877786272857 Columns 81 through 82 75.9061037662542 58.4614730943563 Columns 83 through 84 80.9941030143468 56.5943654513724 Columns 85 through 86 30.801878354144 74.55400943742 Columns 87 through 88 98.5302481620322 83.5642086895431 Columns 89 through 90 74.8032506753057 56.2219161425883 Columns 91 through 92 24.7420897995044 71.5127232069175 Columns 93 through 94 46.0567807935753 26.9037788054522 Columns 95 through 96 63.175688025764 84.9557067147067 Columns 97 through 98 72.2856337281056 99.9530209206991 Columns 99 through 100 96.7390946076285 20.0032840637251 x=rand(1,100)*85+15; mc=histc(x,ht) mc = 46 5 21 12 12 4 0 st=ht(2:7)-ht(1:6) st = 41 5 11 13 11 4 vs=mc./[st 1] vs = Columns 1 through 2 1.1219512195122 1 Columns 3 through 4 1.90909090909091 0.923076923076923 Columns 5 through 6 1.09090909090909 1 Column 7 0 vs=mc./[st,1] vs = Columns 1 through 2 1.1219512195122 1 Columns 3 through 4 1.90909090909091 0.923076923076923 Columns 5 through 6 1.09090909090909 1 Column 7 0 bar(ht vs 'histc') ??? bar(ht vs 'histc') | Error: ")" expected, "identifier" found. bar(ht,vs 'histc') ??? bar(ht,vs 'histc') | Error: ")" expected, "character string" found. bar(ht,vs, 'histc') x=[rand(1,100)*85+15,100,100] x = Columns 1 through 2 39.3048347537619 48.500846950796 Columns 3 through 4 57.7562312685352 76.3682869389826 Columns 5 through 6 41.0277263638438 24.533915510749 Columns 7 through 8 52.6796465952935 54.6748169344798 Columns 9 through 10 16.2468543987447 71.4444086120928 Columns 11 through 12 76.5452452403383 38.9388562560587 Columns 13 through 14 37.2545876389857 75.2200694135625 Columns 15 through 16 81.6280169384152 98.8234135577684 Columns 17 through 18 55.2341299590962 91.7396009128757 Columns 19 through 20 53.339994702448 83.3839287343663 Columns 21 through 22 85.4534804821784 29.1329599192767 Columns 23 through 24 48.4820104521699 59.2643861717961 Columns 25 through 26 76.0405376438312 63.3811090952313 Columns 27 through 28 54.1685247327088 52.8510995395799 Columns 29 through 30 22.4582915205391 52.6960732948413 Columns 31 through 32 46.1354869095458 40.7153745745185 Columns 33 through 34 87.4067992732493 79.5557479697965 Columns 35 through 36 95.7295391934753 62.4247732689653 Columns 37 through 38 16.2098063534805 65.6750521817874 Columns 39 through 40 84.3774852787669 98.0528501615285 Columns 41 through 42 33.8621867609449 74.8131117294891 Columns 43 through 44 59.3751778007188 94.2962498153957 Columns 45 through 46 75.6351276985073 34.3833067488714 Columns 47 through 48 53.2195788968905 29.6369741160559 Columns 49 through 50 97.3497121750388 45.2358688788482 Columns 51 through 52 19.1689803910224 79.203778602298 Columns 53 through 54 91.0590848955199 39.3227202886645 Columns 55 through 56 36.3520464340278 94.2825762654036 Columns 57 through 58 26.13350987551 94.9696610949744 Columns 59 through 60 74.6575197534907 87.0524997952543 Columns 61 through 62 32.7880894563078 53.6827937156797 Columns 63 through 64 21.8912666456434 87.3454040785277 Columns 65 through 66 62.7741375045306 42.1401851935949 Columns 67 through 68 46.866437223046 88.7626343224879 Columns 69 through 70 46.6349804101317 21.2636547323587 Columns 71 through 72 31.9862296351919 19.2069287714133 Columns 73 through 74 63.1703312255153 25.3636037368614 Columns 75 through 76 59.3794999027833 24.9501129483047 Columns 77 through 78 80.4430705946115 46.879742716074 Columns 79 through 80 84.9879123102727 18.9640723694686 Columns 81 through 82 65.8226272364354 95.6777835316872 Columns 83 through 84 39.5478004853535 90.5507718754813 Columns 85 through 86 23.6347656395839 20.5517330686912 Columns 87 through 88 34.9154773311078 94.3133655681168 Columns 89 through 90 20.3658711559332 37.4585014168078 Columns 91 through 92 99.9601923126311 33.0189768138022 Columns 93 through 94 57.3648328778913 39.6915050943761 Columns 95 through 96 72.1841249286261 96.4292451919417 Columns 97 through 98 80.156880427017 71.6205177077896 Columns 99 through 100 26.1303098784154 23.1101064005053 Columns 101 through 102 100 100 mc=histc(x,ht) mc = 52 5 8 16 14 5 2 st=ht(2:7)-ht(1:6) st = 41 5 11 13 11 4 ht=ht(6)+ht(7) ht = 196 ht[15 56 61 72 85 96 100] ??? ht[15 56 61 72 85 96 100] | Error: Missing operator, comma, or semicolon. ht=[15 56 61 72 85 96 100] ht = 15 56 61 72 85 96 100 x=[rand(1,100)*85+15,100,100] x = Columns 1 through 2 16.2634686843991 39.496434375072 Columns 3 through 4 84.42215314212 98.7660983373491 Columns 5 through 6 16.4758289082077 84.6483992490842 Columns 7 through 8 67.7967899919985 62.6188734818488 Columns 9 through 10 35.7426803902146 84.8706450214002 Columns 11 through 12 37.3730138763696 79.0589354227822 Columns 13 through 14 71.0698078985895 33.1953427473277 Columns 15 through 16 66.1799372047974 66.4196543545018 Columns 17 through 18 71.0576315940453 30.585908762874 Columns 19 through 20 69.1064869528992 29.4762743611017 Columns 21 through 22 60.8660939992036 67.9885055162609 Columns 23 through 24 73.3006477254646 72.5744059799034 Columns 25 through 26 89.5305520564561 16.0956925190682 Columns 27 through 28 41.3841892157305 81.2217360363755 Columns 29 through 30 41.1201672183432 93.7676564042566 Columns 31 through 32 72.6911894476266 21.3173268951832 Columns 33 through 34 21.0068812648241 16.0140896682429 Columns 35 through 36 34.3080657793642 58.881419738173 Columns 37 through 38 53.9473583029988 74.7722837515886 Columns 39 through 40 64.5111293763766 58.2825101542376 Columns 41 through 42 21.3146167729969 31.4250866580341 Columns 43 through 44 47.2663513334435 38.4969512426953 Columns 45 through 46 80.5249560798512 41.6840491502609 Columns 47 through 48 69.2464236242436 98.8581834485775 Columns 49 through 50 57.7444433046438 95.5547870281819 Columns 51 through 52 85.3821965535033 92.9923622736198 Columns 53 through 54 24.6117854757053 84.030702015019 Columns 55 through 56 92.2023178640734 28.2919701483559 Columns 57 through 58 25.3800951672344 79.8266499298351 Columns 59 through 60 76.3530241839245 70.3893844100421 Columns 61 through 62 79.0919265975744 71.368770667004 Columns 63 through 64 90.0969476608858 38.1333820926508 Columns 65 through 66 50.6517808227822 33.1044610058616 Columns 67 through 68 18.0259971994165 21.8989148477167 Columns 69 through 70 87.2981765758578 43.9172930198818 Columns 71 through 72 54.6231731487101 92.6698753776431 Columns 73 through 74 34.4290199974315 88.2738165127365 Columns 75 through 76 70.8125755324499 90.7505382079017 Columns 77 through 78 56.492199050396 99.3748799678432 Columns 79 through 80 46.7327049462684 60.1671570164895 Columns 81 through 82 30.4118879540091 57.6652684907933 Columns 83 through 84 50.8865603289998 71.1363289595205 Columns 85 through 86 72.2605059473028 96.3730655467775 Columns 87 through 88 31.3085883849666 24.4533972493058 Columns 89 through 90 63.0295790226517 97.3791331576149 Columns 91 through 92 17.0182290247405 88.9683448737585 Columns 93 through 94 17.2845103859766 59.1599385118636 Columns 95 through 96 31.3447707576199 75.8335689743894 Columns 97 through 98 36.307186409495 94.3785093430308 Columns 99 through 100 26.6610915656292 59.3378988317014 Columns 101 through 102 100 100 mc=histc(x,ht) mc = 42 9 15 16 13 5 2 st=ht(2:7)-ht(1:6) st = 41 5 11 13 11 4 mc mc = 42 9 15 16 13 5 2 mc(6)=mc(6)+mc(7) mc = 42 9 15 16 13 7 2 clear mc(7) mc mc = 42 9 15 16 13 7 2 vs=mc./[st 1] vs = Columns 1 through 2 1.02439024390244 1.8 Columns 3 through 4 1.36363636363636 1.23076923076923 Columns 5 through 6 1.18181818181818 1.75 Column 7 2 bar(ht,vs, 'histc') mc(7)=0 mc = 42 9 15 16 13 7 0 bar(ht,vs, 'histc') shg vs=mc./[st 1] vs = Columns 1 through 2 1.02439024390244 1.8 Columns 3 through 4 1.36363636363636 1.23076923076923 Columns 5 through 6 1.18181818181818 1.75 Column 7 0 bar(ht,vs, 'histc') shg diary off