octave:6> Finv Finv = -7.0369268 -6.7119328 -6.0508959 -5.6591424 -5.3205813 -5.0700460 -4.8621743 -4.6769192 -4.5052688 -4.3460319 -4.2045284 -4.0769676 -3.9608808 -3.8519842 -3.7506703 -3.6528218 -3.5574285 -3.4683153 -3.3831764 -3.3021331 -3.2256047 -3.1542832 -3.0845510 -3.0181528 -2.9551066 -2.8934446 -2.8343783 -2.7754333 -2.7192294 -2.6640021 -2.6109441 -2.5590513 -2.5066750 -2.4546974 -2.4023747 -2.3510539 -2.2999925 -2.2488262 -2.1992692 -2.1488162 -2.0998154 -2.0512654 -2.0046792 -1.9584316 -1.9135119 -1.8698333 -1.8271605 -1.7850351 -1.7434022 -1.7036150 -1.6645229 -1.6261024 -1.5873815 -1.5493927 -1.5123139 -1.4747262 -1.4374633 -1.4005602 -1.3643012 -1.3277434 -1.2923674 -1.2569953 -1.2214883 -1.1864365 -1.1517492 -1.1174212 -1.0829398 -1.0490369 -1.0151267 -0.9828615 -0.9502792 -0.9187265 -0.8880200 -0.8570131 -0.8265203 -0.7965681 -0.7668891 -0.7377343 -0.7100429 -0.6820417 -0.6546047 -0.6265974 -0.5990979 -0.5723380 -0.5450993 -0.5192372 -0.4925008 -0.4666189 -0.4406389 -0.4146560 -0.3887931 -0.3624465 -0.3365817 -0.3101490 -0.2846164 -0.2592011 -0.2346760 -0.2094098 -0.1842792 -0.1597293 -0.1353359 -0.1111451 -0.0868552 -0.0633380 -0.0391886 -0.0158286 0.0071549 0.0300450 0.0520461 0.0741493 0.0967381 0.1182980 0.1405401 0.1613192 0.1825740 0.2036993 0.2242698 0.2445977 0.2658951 0.2858021 0.3065457 0.3259378 0.3462805 0.3659036 0.3849567 0.4049204 0.4245223 0.4436576 0.4638404 0.4817441 0.5009386 0.5201049 0.5390196 0.5574570 0.5761131 0.5946585 0.6143027 0.6330882 0.6514927 0.6693778 0.6879795 0.7059970 0.7238561 0.7421800 0.7594560 0.7772559 0.7948728 0.8125126 0.8303348 0.8476341 0.8645989 0.8812205 0.8985682 0.9160748 0.9316991 0.9492739 0.9654874 0.9822921 0.9985030 1.0147742 1.0309461 1.0471603 1.0624912 1.0794093 1.0953941 1.1107880 1.1273445 1.1422158 1.1574943 1.1728134 1.1876166 1.2036542 1.2184978 1.2336611 1.2479999 1.2634318 1.2782222 1.2927667 1.3072178 1.3218086 1.3361662 1.3511235 1.3653479 1.3793648 1.3928245 1.4069590 1.4215355 1.4350689 1.4496228 1.4627937 1.4777965 1.4916247 1.5046701 1.5178833 1.5321345 1.5451993 1.5586882 1.5738385 1.5869814 1.6016870 1.6163907 1.6310478 1.6441050 1.6588839 1.6719836 1.6873628 1.7012171 1.7157338 1.7296205 1.7438325 1.7586081 1.7746120 1.7896190 1.8047138 1.8209722 1.8366066 1.8525218 1.8695227 1.8860393 1.9036918 1.9211531 1.9384652 1.9568904 1.9764028 1.9959600 2.0160181 2.0369203 2.0574560 2.0786394 2.1000979 2.1228428 2.1451208 2.1677272 2.1911941 2.2157145 2.2417229 2.2688051 2.2964268 2.3239512 2.3530502 2.3842101 2.4174550 2.4443125 2.4752335 2.5112898 2.5438560 2.5799394 2.6215423 2.6637050 2.7119663 2.7823675 2.8948157 3.1237094 3.5952931 3.8514145 5.4076305 octave:7> whos *** currently compiled functions: prot type rows cols name ==== ==== ==== ==== ==== wd user function - - __axis_label__ wd user function - - __plt1__ wd user function - - __plt2__ wd user function - - __plt2vv__ wd user function - - __plt__ wd user function - - axis wd user function - - cls_fast wd user function - - clshow wd user function - - create_set wd user function - - diff wd user function - - figure wd user function - - interp_odd_to_even wd user function - - is_scalar wd user function - - is_vector wd user function - - isempty wd user function - - length wd user function - - oneplot wd user function - - plot wd user function - - plotcertaintyfromFinv wd user function - - reshape wd user function - - rows wd user function - - title wd user function - - tvs wd user function - - union wd user function - - xlabel wd user function - - ylabel *** local user variables: prot type rows cols name ==== ==== ==== ==== ==== wd matrix 256 1 Finv wd matrix 256 256 Jsum03 wd matrix 256 256 Jverify octave:8> help plotcertaintyfromFinv plotcertaintyfromFinv is the function defined from: /raid/home/www/eyetap/ece1766/comparunroll/plotcertaintyfromFinv.m plot the certainty function from Finv use: certaintyfromFinv(Finv); Additional help for builtin functions, operators, and variables is available in the on-line version of the manual. Use the command `help -i ' to search the manual index. Help and information about Octave is also available on the WWW at http://www.che.wisc.edu/octave/octave.html and via the help-octave@bevo.che.wisc.edu mailing list. octave:9> type plotcertaintyfromFinv plotcertaintyfromFinv is the function defined from: /raid/home/www/eyetap/ece1766/comparunroll/plotcertaintyfromFinv.m % plot the certainty function from Finv % use: certaintyfromFinv(Finv); function plotcertaintyfromFinv(Finv); gset terminal x11 Uncertainty=diff(Finv); Certainty=1../Uncertainty; Certainty=interp_odd_to_even(Certainty); Certainty=real(Certainty); %certainty=exp(Certainty); too sharp a peak %plot(exp(Certainty./10)) % seems good certainty=exp(Certainty./max(Certainty/exp(1))); % normalize on interval 0:1 certainty=certainty/max(certainty); axis([0 255 0 max(certainty)*1.05]); gset nokey xlabel('pixel integer') ylabel('relative certainty') plot(certainty); gset terminal postscript eps 35 # show it like it is system('rm deleteme_pork.eps'); gset output 'deleteme_pork.eps'; replot gset terminal x11 axis; octave:10> octave:10> octave:10> plotcertaintyfromFinv(Finv) *** local user variables: prot type rows cols name ==== ==== ==== ==== ==== wd matrix 256 1 Certainty wd matrix 256 1 Finv wd matrix 255 1 Uncertainty wd matrix 256 1 certainty wd scalar 1 1 nargin wd scalar 1 1 nargout certainty = 0.073320 0.069522 0.071954 0.073053 0.075534 0.077856 0.079255 0.080634 0.081650 0.084093 0.086084 0.088680 0.090135 0.092575 0.093450 0.094551 0.096574 0.098745 0.100318 0.103212 0.106196 0.108017 0.109886 0.113755 0.114434 0.117999 0.117539 0.121302 0.122257 0.125658 0.127378 0.127208 0.127139 0.127358 0.127884 0.129628 0.128128 0.131992 0.129773 0.132668 0.133022 0.137313 0.138051 0.140945 0.143881 0.146941 0.148446 0.149795 0.154718 0.158481 0.160131 0.160544 0.160908 0.166579 0.163889 0.165499 0.165914 0.169860 0.167975 0.172604 0.174185 0.172894 0.174725 0.176574 0.178776 0.178046 0.180556 0.180663 0.187994 0.190421 0.191403 0.201985 0.198420 0.202297 0.205010 0.209831 0.209930 0.224997 0.224944 0.227961 0.227085 0.224577 0.238007 0.231023 0.243886 0.242081 0.241325 0.250880 0.242873 0.251235 0.240883 0.248326 0.241645 0.248268 0.253105 0.261922 0.262665 0.252669 0.265992 0.265356 0.273655 0.267167 0.280938 0.275701 0.278462 0.291827 0.293092 0.302676 0.319193 0.296810 0.318870 0.310435 0.326761 0.340640 0.328410 0.340247 0.360204 0.334490 0.351431 0.356987 0.360011 0.381073 0.351066 0.403416 0.378252 0.366437 0.396612 0.369222 0.396482 0.441171 0.373209 0.410764 0.403071 0.429371 0.408432 0.408225 0.373374 0.432595 0.422075 0.452384 0.401711 0.475197 0.414412 0.466750 0.458761 0.462266 0.452763 0.465815 0.444935 0.504842 0.486455 0.534466 0.429354 0.550367 0.526601 0.486938 0.539418 0.512899 0.548915 0.546323 0.537108 0.579863 0.582427 0.491007 0.611518 0.566863 0.547910 0.690595 0.579652 0.671646 0.607130 0.591808 0.653291 0.658882 0.695542 0.601487 0.694125 0.692989 0.703528 0.696212 0.703244 0.654124 0.759963 0.762842 0.857558 0.685228 0.751633 0.782644 0.730020 0.865224 0.619062 0.871767 0.883016 0.873336 0.706503 1.000000 0.713245 0.707522 0.846479 0.676456 0.652632 0.751301 0.851272 0.698109 0.873021 0.599117 0.813764 0.675602 0.806406 0.704823 0.662432 0.549322 0.676418 0.605925 0.549448 0.590917 0.556564 0.491644 0.526038 0.448025 0.479810 0.466726 0.419640 0.376175 0.383426 0.356682 0.342346 0.346909 0.332660 0.321936 0.297034 0.307538 0.298521 0.282549 0.264804 0.244881 0.232778 0.228198 0.228205 0.213268 0.196300 0.186321 0.237900 0.196125 0.171328 0.188810 0.169411 0.149949 0.148604 0.133420 0.106782 0.089215 0.076442 0.071002 0.075401 0.067444 octave:11> exit octave:11> f f = 0.0076151 0.0095391 0.0150834 0.0197892 0.0250233 0.0297690 0.0343827 0.0390937 0.0440331 0.0491716 0.0542389 0.0592530 0.0642179 0.0692528 0.0742909 0.0795044 0.0849390 0.0903510 0.0958434 0.1013815 0.1069046 0.1123223 0.1178847 0.1234370 0.1289509 0.1345818 0.1402062 0.1460533 0.1518555 0.1577813 0.1636920 0.1696871 0.1759607 0.1824158 0.1891530 0.1960028 0.2030642 0.2103952 0.2177479 0.2254976 0.2332881 0.2412724 0.2491905 0.2573080 0.2654456 0.2736050 0.2818187 0.2901689 0.2986645 0.3070158 0.3154487 0.3239622 0.3327749 0.3416539 0.3505485 0.3598017 0.3692159 0.3787820 0.3884225 0.3983909 0.4082805 0.4184145 0.4288401 0.4393868 0.4500792 0.4609170 0.4720659 0.4832907 0.4947849 0.5059752 0.5175323 0.5289758 0.5403552 0.5520944 0.5638877 0.5757171 0.5876833 0.5996804 0.6113020 0.6232826 0.6352495 0.6477022 0.6601666 0.6725260 0.6853442 0.6977407 0.7107919 0.7236586 0.7368082 0.7501984 0.7637683 0.7778444 0.7919154 0.8065585 0.8209599 0.8355505 0.8498758 0.8648910 0.8800887 0.8951930 0.9104578 0.9258529 0.9415730 0.9570472 0.9732021 0.9890884 1.0049717 1.0210440 1.0367342 1.0527401 1.0693529 1.0854536 1.1023177 1.1183093 1.1349069 1.1516476 1.1681858 1.1847624 1.2023818 1.2190879 1.2367430 1.2534790 1.2712788 1.2886885 1.3058206 1.3240159 1.3421280 1.3600480 1.3792083 1.3964308 1.4151339 1.4340595 1.4529848 1.4716729 1.4908273 1.5101151 1.5308179 1.5508812 1.5707926 1.5903869 1.6110257 1.6312716 1.6515906 1.6727015 1.6928522 1.7138679 1.7349244 1.7562675 1.7780979 1.7995474 1.8208334 1.8419329 1.8642149 1.8869743 1.9075212 1.9309006 1.9527231 1.9756017 1.9979258 2.0205866 2.0433638 2.0664584 2.0885348 2.1131707 2.1367144 2.1596357 2.1845627 2.2071976 2.2306966 2.2545092 2.2777614 2.3032232 2.3270429 2.3516300 2.3751192 2.4006612 2.4253992 2.4499744 2.4746385 2.4997929 2.5247949 2.5511072 2.5763845 2.6015380 2.6259228 2.6517762 2.6787046 2.7039508 2.7313663 2.7564161 2.7852301 2.8120548 2.8375978 2.8637058 2.8921342 2.9184438 2.9458586 2.9769572 3.0042011 3.0349800 3.0660701 3.0973787 3.1255390 3.1577214 3.1865242 3.2206744 3.2517517 3.2846367 3.3164057 3.3492371 3.3837151 3.4214598 3.4572358 3.4935985 3.5331921 3.5716893 3.6113088 3.6541167 3.6961910 3.7416946 3.7872564 3.8329766 3.8822429 3.9351068 3.9888144 4.0446591 4.1036859 4.1625165 4.2240866 4.2873848 4.3555134 4.4232930 4.4931499 4.5668332 4.6451156 4.7296155 4.8192382 4.9123958 5.0070165 5.1090328 5.2205800 5.3422778 5.4426622 5.5605728 5.7012956 5.8314554 5.9791458 6.1540762 6.3365827 6.5521405 6.8798042 7.4374894 8.7162610 12.0862359 14.4341525 42.4481714 octave:12> exit