Physics307L F09:People/Mondragon/Poisson/Notebook/20090504: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
m (1 revision) |
(No difference)
|
Latest revision as of 18:58, 6 August 2010
octave:23> diary on octave:24> table1_3=poissrnd(1.3,500,500); octave:25> table1_3; octave:26> values(table1_3) error: values: x must be a vector error: evaluating if command near line 38, column 3 error: called from `values' in file `/usr/share/octave/3.0.0/m/statistics/base/values.m' octave:26> values(table1_3(30)) error: number of columns must match (0 != 1) error: evaluating argument list element number 1 error: evaluating assignment expression near line 47, column 5 error: called from `values' in file `/usr/share/octave/3.0.0/m/statistics/base/values.m' octave:26> values(table1_3(30,:)) ans = 0 1 2 3 4 5 6 7 octave:27> values(table1_3(31,:)) ans = 0 1 2 3 4 5 octave:28> values(table1_3(:,31)) ans = 0 1 2 3 4 5 6 octave:29> values(table1_3(431,:)) ans = 0 1 2 3 4 5 6 octave:30> range(table3_1) error: `table3_1' undefined near line 30 column 7 error: evaluating argument list element number 1 octave:30> range(table1_3) ans = Columns 1 through 20: 7 7 6 6 7 8 4 7 5 6 5 7 5 5 5 6 6 5 5 5 Columns 21 through 40: 5 5 5 5 6 6 7 6 6 6 6 5 7 6 6 6 7 6 5 6 Columns 41 through 60: 6 5 5 5 6 6 6 7 6 5 5 6 5 7 6 8 7 6 6 6 Columns 61 through 80: 5 5 4 5 5 6 5 5 6 6 6 6 6 6 6 6 5 7 5 6 Columns 81 through 100: 6 6 6 6 7 6 5 6 6 6 8 6 7 6 5 5 6 5 7 5 Columns 101 through 120: 6 5 5 7 6 6 5 6 7 5 5 7 7 6 5 5 7 5 8 5 Columns 121 through 140: 5 7 5 5 6 6 5 6 8 7 5 6 6 6 7 6 5 6 7 6 Columns 141 through 160: 5 5 6 5 5 7 7 8 6 9 6 5 8 5 6 7 5 6 6 5 Columns 161 through 180: 5 7 6 6 5 4 5 6 6 6 6 5 5 5 5 5 5 6 8 5 Columns 181 through 200: 7 5 5 7 5 5 6 6 6 7 6 5 6 6 5 7 5 6 6 5 Columns 201 through 220: 6 6 6 6 6 5 7 7 8 6 7 6 6 5 6 7 6 6 6 7 Columns 221 through 240: 6 5 6 5 5 6 6 6 5 6 5 5 5 7 5 7 6 5 6 8 Columns 241 through 260: 7 6 6 4 6 7 5 6 6 6 6 6 7 5 5 5 6 5 5 8 Columns 261 through 280: 5 6 6 5 6 6 6 5 6 6 6 5 5 5 5 6 5 6 5 8 Columns 281 through 300: 6 5 6 7 7 6 6 6 8 5 8 6 6 7 5 6 8 7 6 5 Columns 301 through 320: 6 5 7 5 6 6 6 7 8 5 7 6 6 6 5 5 6 5 6 7 Columns 321 through 340: 5 6 6 6 5 6 8 6 7 7 5 6 7 6 6 5 7 5 5 6 Columns 341 through 360: 7 6 5 7 5 5 5 6 7 6 6 5 6 6 5 7 6 6 6 7 Columns 361 through 380: 5 5 6 5 6 6 5 6 6 5 5 8 5 6 5 6 6 5 5 6 Columns 381 through 400: 5 6 5 5 5 7 6 6 7 6 7 5 6 8 6 6 5 5 7 6 Columns 401 through 420: 5 6 6 6 6 6 6 6 7 5 6 5 5 6 6 6 5 5 6 6 Columns 421 through 440: 4 6 6 5 7 7 6 6 7 5 6 7 6 5 6 6 6 6 6 5 Columns 441 through 460: 6 7 6 6 6 6 5 5 7 5 7 6 5 6 6 7 5 6 6 6 Columns 461 through 480: 7 6 5 7 7 5 5 5 5 5 6 6 5 6 7 6 6 6 6 5 Columns 481 through 500: 6 5 6 6 6 5 5 7 6 6 6 6 7 6 6 6 5 5 6 8 octave:31> max(max(table1_3) > ) ans = 9 octave:32> min(min(table1_3)) ans = 0 octave:33> hist(table1_3(321,:),0:9) octave:34> bla=hist(table1_3(31,:),0:9) bla = 122 180 108 68 18 4 0 0 0 0 octave:35> bla=hist(table1_3(32,:),0:9) bla = 123 173 121 62 15 5 1 0 0 0 octave:36> bla=hist(table1_3(33,:),0:9) bla = 124 174 132 49 15 5 1 0 0 0 octave:37> hist(table1_3(33,:),0:9) octave:38> table1_3=poissrnd(1.3,1500,1500); octave:39> max(max(table1_3)) ans = 10 octave:40> values(table1_3(365,:)) ans = 0 1 2 3 4 5 6 7 octave:41> hist(table1_3(33,:),0:10) octave:42> hist(table1_3(31,:),0:10) octave:43> bla=hist(table1_3(33,:),0:10) bla = 375 537 371 150 50 11 4 2 0 0 0 octave:44> bla=hist(table1_3(31,:),0:10) bla = 429 523 350 137 40 18 3 0 0 0 0 octave:45> who *** dynamically linked functions: builtin:find builtin:min gnuplot_binary regexp builtin:kron cellfun issparse sort builtin:max dispatch randp *** currently compiled functions: __bar__ figure mod __bars__ findstr newplot __gnuplot_version__ fullfile patch __go_draw_axes__ gca pkg __go_draw_figure__ gcf poissrnd __next_line_color__ hist range __patch__ image_viewer rem __plt_get_axis_arg__ isa repmat ancestor ismember split axes ispc str2num bar isscalar strcat closereq isstr strcmpi compare_versions isvector strrep diff logical values drawnow lower xor *** local user variables: __nargin__ ans bla table1_3 octave:46> save -ascii table1_3.asc table1_3 octave:47> save -text table1_3.asc table1_3 octave:48> range(table1_3) ans = Columns 1 through 16: 6 6 7 5 7 7 6 6 7 7 7 6 6 6 8 6 Columns 17 through 32: 6 6 6 6 6 7 6 7 6 7 7 7 6 7 8 8 Columns 33 through 48: 7 6 7 7 6 7 6 6 7 6 6 6 6 7 6 7 Columns 49 through 64: 6 6 7 7 7 6 7 8 6 6 7 7 6 7 7 6 Columns 65 through 80: 6 6 7 7 6 6 6 6 7 6 8 6 7 7 6 6 Columns 81 through 96: 6 7 5 7 7 7 6 5 7 6 7 6 6 7 6 6 Columns 97 through 112: 6 6 6 6 6 6 6 7 6 6 8 6 7 6 7 5 Columns 113 through 128: 7 7 7 6 7 8 7 7 7 6 8 6 7 5 7 6 Columns 129 through 144: 6 7 6 6 9 7 6 7 6 7 7 6 6 6 6 6 Columns 145 through 160: 9 6 7 6 6 6 6 7 6 7 8 6 6 6 6 6 Columns 161 through 176: 7 6 7 7 7 8 6 6 6 5 7 5 6 7 5 6 Columns 177 through 192: 6 6 7 7 6 7 6 7 7 6 6 7 7 6 6 5 Columns 193 through 208: 7 6 6 7 6 7 6 6 6 6 7 7 7 8 6 7 Columns 209 through 224: 6 8 7 6 7 8 7 6 7 6 6 6 7 7 6 7 Columns 225 through 240: 7 6 6 6 6 6 6 6 6 6 7 7 7 6 6 6 Columns 241 through 256: 6 6 6 5 6 6 8 6 7 6 7 7 6 6 7 6 Columns 257 through 272: 6 6 6 8 6 6 6 6 7 7 6 7 7 7 6 7 Columns 273 through 288: 6 6 8 7 5 6 7 6 7 8 6 6 7 6 7 8 Columns 289 through 304: 7 6 7 6 6 6 6 7 6 7 6 6 6 6 6 7 Columns 305 through 320: 6 6 6 8 6 8 7 7 6 6 7 6 6 6 5 6 Columns 321 through 336: 6 6 5 7 6 8 6 7 7 6 7 7 7 6 6 6 Columns 337 through 352: 6 7 8 5 7 6 8 6 8 7 7 6 8 6 6 7 Columns 353 through 368: 6 6 6 6 6 5 10 6 6 6 6 5 6 8 6 7 Columns 369 through 384: 7 6 8 7 6 5 7 6 6 7 7 6 6 6 7 6 Columns 385 through 400: 6 6 7 7 7 7 7 8 7 7 6 6 7 6 7 8 Columns 401 through 416: 7 6 7 6 7 6 6 7 6 6 6 7 7 7 8 7 Columns 417 through 432: 6 7 7 7 7 6 7 6 8 6 6 6 6 6 7 6 Columns 433 through 448: 6 8 6 6 6 6 7 6 8 7 7 6 7 7 6 5 Columns 449 through 464: 7 6 6 7 5 6 6 7 7 7 7 6 6 8 6 7 Columns 465 through 480: 7 7 6 6 6 7 6 7 6 7 6 7 6 6 6 7 Columns 481 through 496: 5 6 6 7 8 6 7 6 8 6 7 6 8 7 7 6 Columns 497 through 512: 7 6 9 7 8 7 6 6 6 7 6 7 6 6 6 8 Columns 513 through 528: 7 8 6 7 6 6 7 8 7 7 6 7 5 7 6 6 Columns 529 through 544: 7 6 7 6 7 7 6 7 6 6 5 7 7 7 8 7 Columns 545 through 560: 7 6 6 8 7 7 6 6 6 7 6 8 6 6 7 7 Columns 561 through 576: 6 7 8 6 7 6 7 6 7 7 7 6 7 6 6 5 Columns 577 through 592: 6 6 6 7 7 5 5 6 7 6 6 7 7 7 7 5 Columns 593 through 608: 7 7 5 7 8 6 9 8 7 8 6 6 6 7 8 6 Columns 609 through 624: 6 6 7 6 6 6 7 7 7 6 7 6 7 5 6 6 Columns 625 through 640: 6 7 6 6 8 6 6 7 7 6 6 6 6 6 8 6 Columns 641 through 656: 6 6 6 6 6 6 7 8 6 7 7 6 7 7 6 7 Columns 657 through 672: 7 7 6 6 6 6 6 8 7 7 6 7 6 6 7 6 Columns 673 through 688: 6 7 6 6 7 7 6 8 7 6 7 6 7 8 6 6 Columns 689 through 704: 7 6 7 7 7 7 6 6 6 6 7 6 6 7 6 6 Columns 705 through 720: 6 7 6 7 7 7 7 5 6 7 6 6 6 6 6 7 Columns 721 through 736: 6 7 6 7 7 6 6 7 6 6 7 7 7 7 8 8 Columns 737 through 752: 6 6 8 7 7 6 7 7 6 7 6 6 6 6 7 7 Columns 753 through 768: 8 6 6 6 7 6 7 7 6 8 7 6 6 6 6 7 Columns 769 through 784: 7 6 6 6 6 7 7 5 6 7 6 5 6 6 8 6 Columns 785 through 800: 7 7 7 7 7 7 7 7 7 8 6 6 7 5 6 6 Columns 801 through 816: 7 6 7 6 7 6 6 7 7 7 8 5 6 7 7 7 Columns 817 through 832: 7 7 5 6 7 6 7 7 7 6 6 6 7 7 7 7 Columns 833 through 848: 7 6 7 7 7 6 6 6 6 7 6 6 7 6 6 7 Columns 849 through 864: 6 6 7 6 7 8 7 6 6 6 7 7 6 6 5 6 Columns 865 through 880: 6 7 7 7 6 7 6 7 6 6 6 8 6 6 7 6 Columns 881 through 896: 7 8 8 6 6 6 6 6 7 6 6 7 7 6 7 6 Columns 897 through 912: 7 6 7 6 6 6 6 8 6 7 6 6 6 6 6 6 Columns 913 through 928: 6 7 7 6 6 6 7 7 8 7 7 7 7 6 7 7 Columns 929 through 944: 6 5 6 7 7 6 7 6 7 8 7 6 7 6 6 6 Columns 945 through 960: 6 7 6 7 7 7 5 8 7 6 6 7 6 7 6 6 Columns 961 through 976: 6 6 6 6 6 6 6 6 7 7 7 7 5 6 7 6 Columns 977 through 992: 7 6 7 6 6 7 7 7 7 8 6 6 6 7 6 7 Columns 993 through 1008: 6 7 6 6 7 6 7 6 7 6 8 6 6 6 6 6 Columns 1009 through 1024: 6 6 6 7 6 7 7 6 7 6 8 7 7 6 6 6 Columns 1025 through 1040: 8 6 7 6 6 6 7 6 6 6 7 6 6 6 7 7 Columns 1041 through 1056: 6 8 9 7 7 6 6 6 6 7 6 6 6 5 8 7 Columns 1057 through 1072: 9 6 7 6 6 6 5 6 5 6 7 7 7 6 7 7 Columns 1073 through 1088: 6 6 7 6 7 7 6 6 6 8 8 6 7 7 6 6 Columns 1089 through 1104: 7 6 6 6 6 6 6 6 7 6 7 6 6 8 7 6 Columns 1105 through 1120: 7 6 7 7 6 6 6 6 6 7 7 6 6 7 7 7 Columns 1121 through 1136: 6 7 7 6 7 7 7 6 6 6 5 7 6 6 7 6 Columns 1137 through 1152: 7 8 6 7 6 6 8 7 6 6 6 6 6 6 6 7 Columns 1153 through 1168: 6 6 6 6 6 6 6 7 6 5 6 6 8 7 7 7 Columns 1169 through 1184: 7 7 7 7 7 7 7 7 7 6 6 6 6 7 6 6 Columns 1185 through 1200: 7 7 6 7 7 6 7 6 6 6 7 6 6 7 7 6 Columns 1201 through 1216: 6 6 6 6 7 6 6 8 6 7 7 7 6 7 7 6 Columns 1217 through 1232: 6 8 6 6 6 6 5 6 7 6 6 6 7 6 5 7 Columns 1233 through 1248: 7 6 6 6 6 6 6 6 7 6 6 6 6 7 6 6 Columns 1249 through 1264: 6 6 6 6 8 7 7 6 7 6 7 6 6 6 6 6 Columns 1265 through 1280: 7 7 7 8 7 6 7 6 7 6 6 7 6 6 6 6 Columns 1281 through 1296: 7 7 6 7 7 6 7 7 6 6 7 6 6 7 6 6 Columns 1297 through 1312: 7 8 6 7 6 7 7 9 6 6 6 8 7 7 7 6 Columns 1313 through 1328: 6 8 6 6 6 6 7 6 6 8 6 6 7 7 6 6 Columns 1329 through 1344: 7 8 6 7 7 6 6 6 7 6 7 6 6 6 7 7 Columns 1345 through 1360: 7 6 7 5 6 5 6 8 7 7 7 6 6 7 7 7 Columns 1361 through 1376: 5 6 7 6 6 6 8 6 7 7 7 6 6 6 8 6 Columns 1377 through 1392: 6 6 7 6 6 6 8 7 7 7 7 6 6 7 6 6 Columns 1393 through 1408: 6 7 6 6 7 5 7 6 7 6 7 6 6 7 6 6 Columns 1409 through 1424: 6 7 7 8 6 6 6 6 7 7 6 7 6 7 6 9 Columns 1425 through 1440: 8 6 5 7 6 7 7 6 6 6 7 6 6 6 7 6 Columns 1441 through 1456: 7 6 7 6 6 7 7 6 7 7 6 6 6 7 7 7 Columns 1457 through 1472: 8 6 9 7 8 6 6 6 6 7 7 7 6 6 6 6 Columns 1473 through 1488: 6 7 6 6 6 7 7 6 8 6 6 6 6 7 8 7 Columns 1489 through 1500: 7 6 8 6 6 6 5 6 7 6 7 6 octave:49> table1_3(767,718) ans = 2 octave:50> table1_3(767,700:720) ans = Columns 1 through 20: 0 1 1 0 0 3 0 2 1 0 0 0 1 2 1 0 3 1 2 3 Column 21: 1 octave:51> table1_3(767,:); octave:52> table1_3(762,350:400) ans = Columns 1 through 16: 4 0 1 3 2 1 0 1 0 10 3 1 5 4 1 2 Columns 17 through 32: 2 2 2 3 2 1 1 1 0 5 5 0 2 1 1 0 Columns 33 through 48: 0 2 1 2 4 1 1 1 1 3 0 1 1 0 1 0 Columns 49 through 51: 4 1 2 octave:53> table1_3(762,360) ans = 3 octave:54> table1_3(762,359) ans = 10 octave:55> diary