x=[80 107 51 82 97] x = 80 107 51 82 97 bar (x) cdo=[3 4 7 9 12] cdo = 3 4 7 9 12 bar (cdo x) ??? bar (cdo x) | Error: ")" expected, "identifier" found. bar (cdo,x) bar (cdo,x,1) bar (cdo,x,1), colourmap ([0 1 0.5]) ??? Undefined function or variable 'colourmap'. bar (cdo,x,1), colormap ([0 1 0.5]) bar (cdo,x,1), colormap ([0 1 0.5]),shg bar (cdo,x,1), colormap ([0.5 1 0.5]),shg bar (cdo,x,1), colormap ([1 1 0.5]),shg bar (cdo,x,1), colormap ([1 1 0]),shg bar (cdo,x,1), colormap ([1 1 1]),shg cdo=[1 4 7 9 12] cdo = 1 4 7 9 12 bar (cdo,x,1), colormap ([1 1 1]),shg bar (cdo,x,1), colormap ([0 1 0.5]),shg pie (x) colormap ('default') pie (x) C=round(3 5) ??? C=round(3 5) | Error: ")" expected, "numeric value" found. C=rand(3 5) ??? C=rand(3 5) | Error: ")" expected, "numeric value" found. C=rand(3,5) C = Columns 1 through 3 0.95012928514718 0.48598246870930 0.45646766516834 0.23113851357429 0.89129896614890 0.01850364324822 0.60684258354179 0.76209683302739 0.82140716429525 Columns 4 through 5 0.44470336435319 0.92181297074480 0.61543234810009 0.73820724581067 0.79193703742704 0.17626614449462 pie (x), colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie (x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie(x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. c ??? Undefined function or variable 'c'. C C = Columns 1 through 3 0.95012928514718 0.48598246870930 0.45646766516834 0.23113851357429 0.89129896614890 0.01850364324822 0.60684258354179 0.76209683302739 0.82140716429525 Columns 4 through 5 0.44470336435319 0.92181297074480 0.61543234810009 0.73820724581067 0.79193703742704 0.17626614449462 pie(x),colormap (C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie(x), colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie(x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie3(x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie3(x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie(x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. pie3(x),colormap(C) ??? Error using ==> colormap Colormap must have 3 columns: [R,G,B]. nf=['ms' 'hp' 'o2' 'tm' 'olo'] nf = mshpo2tmolo rv=[0 0 0 0 1] rv = 0 0 0 0 1 pie(x rv nf) ??? pie(x rv nf) | Error: ")" expected, "identifier" found. pie(x,rv,nf) y=[0.1 0.2 0.15] y = 0.10000000000000 0.20000000000000 0.15000000000000 pie(y) pie(10*y) x=rand(1 100) ??? x=rand(1 100) | Error: ")" expected, "numeric value" found. x=rand(1,100) x = Columns 1 through 3 0.40570621306210 0.93546969910761 0.91690443991341 Columns 4 through 6 0.41027020699095 0.89364953091353 0.05789130478427 Columns 7 through 9 0.35286813221700 0.81316649730376 0.00986130066092 Columns 10 through 12 0.13889088195695 0.20276521856027 0.19872174266149 Columns 13 through 15 0.60379247919382 0.27218792496996 0.19881426776106 Columns 16 through 18 0.01527392702904 0.74678567656443 0.44509643228795 Columns 19 through 21 0.93181457846166 0.46599434167542 0.41864946772751 Columns 22 through 24 0.84622141782432 0.52515249630517 0.20264735765039 Columns 25 through 27 0.67213746847429 0.83811844505239 0.01963951386482 Columns 28 through 30 0.68127716128214 0.37948101802800 0.83179601760961 Columns 31 through 33 0.50281288399625 0.70947139270339 0.42889236534100 Columns 34 through 36 0.30461736686939 0.18965374754717 0.19343115640522 Columns 37 through 39 0.68222322359138 0.30276440077661 0.54167385389809 Columns 40 through 42 0.15087297614976 0.69789848185986 0.37837300051267 Columns 43 through 45 0.86001160488682 0.85365513066277 0.59356291253968 Columns 46 through 48 0.49655244970310 0.89976917516961 0.82162916073534 Columns 49 through 51 0.64491038419384 0.81797434083925 0.66022755644160 Columns 52 through 54 0.34197061827022 0.28972589585624 0.34119356941488 Columns 55 through 57 0.53407901762660 0.72711321692968 0.30929015979096 Columns 58 through 60 0.83849604493808 0.56807246100778 0.37041355663212 Columns 61 through 63 0.70273991324038 0.54657115182911 0.44488020467291 Columns 64 through 66 0.69456724042555 0.62131013079541 0.79482108020093 Columns 67 through 69 0.95684344844488 0.52259034908071 0.88014220741133 Columns 70 through 72 0.17295614127524 0.97974689678884 0.27144725864180 Columns 73 through 75 0.25232934687399 0.87574189981807 0.73730598846526 Columns 76 through 78 0.13651874225971 0.01175668735312 0.89389796644525 Columns 79 through 81 0.19913806720574 0.29872301210221 0.66144257638232 Columns 82 through 84 0.28440858974994 0.46922428521100 0.06478112296327 Columns 85 through 87 0.98833493827763 0.58279168156123 0.42349625685105 Columns 88 through 90 0.51551175214076 0.33395147997176 0.43290659610673 Columns 91 through 93 0.22594986814445 0.57980687324960 0.76036500980434 Columns 94 through 96 0.52982311671607 0.64052649898984 0.20906940443842 Columns 97 through 99 0.37981837035079 0.78332864986771 0.68084575139723 Column 100 0.46109512665670 x=rand(1,100)*85+15j x = Columns 1 through 2 48.26544055645091 +15.00000000000000i 67.50790536667225 +15.00000000000000i Columns 3 through 4 5.03052044504104 +15.00000000000000i 51.24387228169435 +15.00000000000000i Columns 5 through 6 4.27284831848420 +15.00000000000000i 35.30686313767393 +15.00000000000000i Columns 7 through 8 25.92488754529681 +15.00000000000000i 74.32120958494824 +15.00000000000000i Columns 9 through 10 1.27580738751238 +15.00000000000000i 65.27578315094702 +15.00000000000000i Columns 11 through 12 82.52181983672799 +15.00000000000000i 84.15702037211032 +15.00000000000000i Columns 13 through 14 67.05324383986897 +15.00000000000000i 37.28597537052752 +15.00000000000000i Columns 15 through 16 42.35646079312084 +15.00000000000000i 18.18688318567413 +15.00000000000000i Columns 17 through 18 54.69684447025475 +15.00000000000000i 27.20302408465224 +15.00000000000000i Columns 19 through 20 81.60838103136589 +15.00000000000000i 61.76370016456133 +15.00000000000000i Columns 21 through 22 35.01602269433481 +15.00000000000000i 63.28809156402321 +15.00000000000000i Columns 23 through 24 22.77551631029681 +15.00000000000000i 37.39356631305403 +15.00000000000000i Columns 25 through 26 79.33730919611513 +15.00000000000000i 58.08324756877120 +15.00000000000000i Columns 27 through 28 18.06758846879261 +15.00000000000000i 71.33525042857659 +15.00000000000000i Columns 29 through 30 53.44669100204627 +15.00000000000000i 11.37068362024124 +15.00000000000000i Columns 31 through 32 17.60628201951518 +15.00000000000000i 51.61191028586008 +15.00000000000000i Columns 33 through 34 53.54046715159619 +15.00000000000000i 31.49053021441119 +15.00000000000000i Columns 35 through 36 48.88756121903482 +15.00000000000000i 38.37111027481052 +15.00000000000000i Columns 37 through 38 3.73110265450724 +15.00000000000000i 2.31073545471735 +15.00000000000000i Columns 39 through 40 26.57822908681235 +15.00000000000000i 1.09331884720478 +15.00000000000000i Columns 41 through 42 32.63721952201565 +15.00000000000000i 58.06485726339098 +15.00000000000000i Columns 43 through 44 7.89160924797818 +15.00000000000000i 3.00375753737822 +15.00000000000000i Columns 45 through 46 52.05361591670691 +15.00000000000000i 51.72593070403929 +15.00000000000000i Columns 47 through 48 1.33958452317881 +15.00000000000000i 1.39016935174970 +15.00000000000000i Columns 49 through 50 16.15634007177669 +15.00000000000000i 49.88807011019724 +15.00000000000000i Columns 51 through 52 4.89439263965453 +15.00000000000000i 31.24328330023926 +15.00000000000000i Columns 53 through 54 53.67334900327767 +15.00000000000000i 60.99892582458428 +15.00000000000000i Columns 55 through 56 58.87689855101196 +15.00000000000000i 7.14672016378779 +15.00000000000000i Columns 57 through 58 38.62018772922195 +15.00000000000000i 37.55540523703910 +15.00000000000000i Columns 59 through 60 30.02628867505870 +15.00000000000000i 13.05654081449680 +15.00000000000000i Columns 61 through 62 57.42979521884003 +15.00000000000000i 59.43313285800731 +15.00000000000000i Columns 63 through 64 61.83827598352411 +15.00000000000000i 40.66267238131587 +15.00000000000000i Columns 65 through 66 47.16156883904254 +15.00000000000000i 10.28900460809522 +15.00000000000000i Columns 67 through 68 38.31408498324786 +15.00000000000000i 60.85005059470283 +15.00000000000000i Columns 69 through 70 75.89153669238903 +15.00000000000000i 23.21370996913710 +15.00000000000000i Columns 71 through 72 21.65539012279408 +15.00000000000000i 73.57629560830391 +15.00000000000000i Columns 73 through 74 19.74978150334026 +15.00000000000000i 68.41409824983502 +15.00000000000000i Columns 75 through 76 77.21379119312405 +15.00000000000000i 19.71101703954764 +15.00000000000000i Columns 77 through 78 20.34156797986374 +15.00000000000000i 4.22913114605623 +15.00000000000000i Columns 79 through 80 6.66264635545383 +15.00000000000000i 54.46930983895146 +15.00000000000000i Columns 81 through 82 16.22535848379262 +15.00000000000000i 71.72890740432047 +15.00000000000000i Columns 83 through 84 14.78152111925166 +15.00000000000000i 14.51738916804278 +15.00000000000000i Columns 85 through 86 84.51511669368318 +15.00000000000000i 37.38222284044230 +15.00000000000000i Columns 87 through 88 28.90407565273369 +15.00000000000000i 26.70847139624244 +15.00000000000000i Columns 89 through 90 31.03166288893692 +15.00000000000000i 33.42536185254889 +15.00000000000000i Columns 91 through 92 50.27964231844789 +15.00000000000000i 10.17846244090372 +15.00000000000000i Columns 93 through 94 3.24094772522656 +15.00000000000000i 38.98082614652132 +15.00000000000000i Columns 95 through 96 73.93872478459571 +15.00000000000000i 79.41010410799797 +15.00000000000000i Columns 97 through 98 22.47817912268830 +15.00000000000000i 13.62552883176034 +15.00000000000000i Columns 99 through 100 74.19269684666850 +15.00000000000000i 20.21982615752312 +15.00000000000000i x=rand(1,100)*85+15j; pt=histc(x,ht ??? pt=histc(x,ht | Error: ")" expected, "end of line" found. pt=histc(x,ht) ??? Undefined function or variable 'ht'. ht=[15 56 61 72 85 96 100] ht = 15 56 61 72 85 96 100 pt=histc(x,ht) ??? All inputs must be real. Error in ==> C:\matlabR12\toolbox\matlab\datafun\histc.dll x=rand(1,100)*85+15; pt=histc(x,ht) pt = 50 6 18 12 11 3 0 pt=histc(x,ht) pt = 50 6 18 12 11 3 0 ht ht = 15 56 61 72 85 96 100 x x = Columns 1 through 3 92.85510909100036 66.16893100923031 36.55264919224816 Columns 4 through 6 89.24331847093345 58.63906034968353 77.27530517599838 Columns 7 through 9 50.88925982014855 96.71644990278631 21.12503527692076 Columns 10 through 12 62.03967728258277 39.81863329710745 87.92689861214640 Columns 13 through 15 43.53918678832781 72.81732728149308 19.54277581207134 Columns 16 through 18 45.31572066859569 57.35589066302027 51.92744574872498 Columns 19 through 21 62.80896545412453 67.41279606406441 24.63389837637720 Columns 22 through 24 91.35139795211643 79.13686689528547 82.24547163540674 Columns 25 through 27 84.27092577432450 71.95032851596299 32.07449504508880 Columns 28 through 30 38.21249373149209 68.22994428529309 60.63239405948802 Columns 31 through 33 20.05784432824247 22.56174955540261 38.06119482244449 Columns 34 through 36 49.77114684053954 55.29352328183075 92.26409466800180 Columns 37 through 39 65.68100673898655 42.96120068394339 55.64652618665440 Columns 40 through 42 65.75951623712929 28.72314416649580 85.50531132427808 Columns 43 through 45 96.27040454016456 65.62157959217254 17.44359812297663 Columns 46 through 48 84.03001460307281 66.85965397353711 74.62687107331907 Columns 49 through 51 22.83667723117218 51.11557701123837 46.92401596873840 Columns 52 through 54 29.12309688370787 85.81787405347411 86.28437489601228 Columns 55 through 57 53.38719248591536 96.31111744788909 27.50802509879255 Columns 58 through 60 88.94429903878569 80.40209401319002 52.75373733483759 Columns 61 through 63 67.75271028439315 95.89358886778756 69.40082072145691 Columns 64 through 66 36.02284847089291 44.97966955401493 30.96814084230983 Columns 67 through 69 56.70477043982043 49.78831797813311 54.39967462099417 Columns 70 through 72 66.93020173916190 21.04931959908218 41.71382457706459 Columns 73 through 75 66.71261069180763 29.87671546578125 67.78733185171544 Columns 76 through 78 35.90659437017536 64.92544828825083 58.01454357514787 Columns 79 through 81 54.50620852451838 61.02060907461013 95.09775840715506 Columns 82 through 84 44.04952265598492 49.15336911870701 41.15347451397516 Columns 85 through 87 49.98327654327193 39.30483475376188 48.50084695079600 Columns 88 through 90 57.75623126853522 76.36828693898256 41.02772636384376 Columns 91 through 93 24.53391551074903 52.67964659529346 54.67481693447979 Columns 94 through 96 16.24685439874472 71.44440861209280 76.54524524033835 Columns 97 through 99 38.93885625605869 37.25458763898573 75.22006941356247 Column 100 81.62801693841524 pt pt = 50 6 18 12 11 3 0 pie(pt) Warning: Divide by zero. > In C:\matlabR12\toolbox\matlab\specgraph\pie.m at line 76 histc(x,pt) ??? Edges vector must be monotonically non-decreasing. Error in ==> C:\matlabR12\toolbox\matlab\datafun\histc.dll st=[56-15 61-56 72-61 85-61 96-85 100-85] st = 41 5 11 24 11 15 st=[56-15 61-56 72-61 85-61 96-85 100-85]=[ht(1) ht(2) ht(3) ht(4) ht(5) ht(6)] ??? st=[56-15 61-56 72-61 85-61 96-85 100-85]=[ht(1) ht(2) ht(3) ht(4) ht(5) ht(6)] | Error: Invalid multiple left-hand-side assignment. st=[56-15 61-56 72-61 85-61 96-85 100-85]=[ht(2)-ht(1) ht(3)-ht(2) ht(4)-ht(3) ht(5)-ht(4) ht(6)-ht(5)] ??? st=[56-15 61-56 72-61 85-61 96-85 100-85]=[ht(2)-ht(1) ht(3)-ht(2) ht(4)-ht(3) ht(5)-ht(4) ht(6)-ht(5)] | Error: Invalid multiple left-hand-side assignment. st=[56-15 61-56 72-61 85-61 96-85 100-85]=[ht(2)-ht(1) ht(3)-ht(2) ht(4)-ht(3) ht(5)-ht(4) ht(6)-ht(5)]=ht(2:7)-ht(1:6) ??? st=[56-15 61-56 72-61 85-61 96-85 100-85]=[ht(2)-ht(1) ht(3)-ht(2) ht(4)-ht(3) ht(5)-ht(4) ht(6)-ht(5)]=ht(2:7)-ht(1:6) | Error: Invalid multiple left-hand-side assignment. st=[56-15 61-56 72-61 85-61 96-85 100-85] st = 41 5 11 24 11 15 vs=pt/[st,1] vs = 0.99345454545455 bar(ht,vs,'histc') colormap([0 1 0.5]) x=[rand(1,100)*85+15,100,100] x = 1.0e+002 * Columns 1 through 3 0.98823413557768 0.55234129959096 0.91739600912876 Columns 4 through 6 0.53339994702448 0.83383928734366 0.85453480482178 Columns 7 through 9 0.29132959919277 0.48482010452170 0.59264386171796 Columns 10 through 12 0.76040537643831 0.63381109095231 0.54168524732709 Columns 13 through 15 0.52851099539580 0.22458291520539 0.52696073294841 Columns 16 through 18 0.46135486909546 0.40715374574519 0.87406799273249 Columns 19 through 21 0.79555747969797 0.95729539193475 0.62424773268965 Columns 22 through 24 0.16209806353480 0.65675052181787 0.84377485278767 Columns 25 through 27 0.98052850161529 0.33862186760945 0.74813111729489 Columns 28 through 30 0.59375177800719 0.94296249815396 0.75635127698507 Columns 31 through 33 0.34383306748871 0.53219578896890 0.29636974116056 Columns 34 through 36 0.97349712175039 0.45235868878848 0.19168980391022 Columns 37 through 39 0.79203778602298 0.91059084895520 0.39322720288664 Columns 40 through 42 0.36352046434028 0.94282576265404 0.26133509875510 Columns 43 through 45 0.94969661094974 0.74657519753491 0.87052499795254 Columns 46 through 48 0.32788089456308 0.53682793715680 0.21891266645643 Columns 49 through 51 0.87345404078528 0.62774137504531 0.42140185193595 Columns 52 through 54 0.46866437223046 0.88762634322488 0.46634980410132 Columns 55 through 57 0.21263654732359 0.31986229635192 0.19206928771413 Columns 58 through 60 0.63170331225515 0.25363603736861 0.59379499902783 Columns 61 through 63 0.24950112948305 0.80443070594611 0.46879742716074 Columns 64 through 66 0.84987912310273 0.18964072369469 0.65822627236435 Columns 67 through 69 0.95677783531687 0.39547800485354 0.90550771875481 Columns 70 through 72 0.23634765639584 0.20551733068691 0.34915477331108 Columns 73 through 75 0.94313365568117 0.20365871155933 0.37458501416808 Columns 76 through 78 0.99960192312631 0.33018976813802 0.57364832877891 Columns 79 through 81 0.39691505094376 0.72184124928626 0.96429245191942 Columns 82 through 84 0.80156880427017 0.71620517707790 0.26130309878415 Columns 85 through 87 0.23110106400505 0.16263468684399 0.39496434375072 Columns 88 through 90 0.84422153142120 0.98766098337349 0.16475828908208 Columns 91 through 93 0.84648399249084 0.67796789991999 0.62618873481849 Columns 94 through 96 0.35742680390215 0.84870645021400 0.37373013876370 Columns 97 through 99 0.79058935422782 0.71069807898590 0.33195342747328 Columns 100 through 102 0.66179937204797 1.00000000000000 1.00000000000000 bar(ht,vs,'histc') vs=pt./[st,1] vs = Columns 1 through 3 1.21951219512195 1.20000000000000 1.63636363636364 Columns 4 through 6 0.50000000000000 1.00000000000000 0.20000000000000 Column 7 0 bar(ht,vs,'histc') vs vs = Columns 1 through 3 1.21951219512195 1.20000000000000 1.63636363636364 Columns 4 through 6 0.50000000000000 1.00000000000000 0.20000000000000 Column 7 0 pt1=[pt(1:5), pt(6)+pt(7),0] pt1 = 50 6 18 12 11 3 0 vs=pt1./[st,1] vs = Columns 1 through 3 1.21951219512195 1.20000000000000 1.63636363636364 Columns 4 through 6 0.50000000000000 1.00000000000000 0.20000000000000 Column 7 0 bar(ht,vs,'histc') bar(ht1,vs,'histc') ??? Undefined function or variable 'ht1'. diary off