ps5_soln - EE 40175 ’3me Sat 5 saw—Am; BEES-.231 (Yak:...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EE 40175 ’3me Sat 5 saw—Am; BEES-.231 (Yak: noggin 2-zl3 0-7. 0 :0 0 .| n : L O O‘U'erwwe Ca) EEK/'1: Znfi/(n) =- 033.7.) + [(0.734- ZCQD =0,q (D EEN‘J = zfimn): 16m» + :‘co.7>+ mm) .- I.) (61 mm: EDP] «Eta/1‘: I-I-(o-‘t)“=029 (1) Tu: \Narflfl : 0.7,? 2 0.5386" frat-Ale”. 32. (Yong; 2.3.?) ._ .J_. ... Gulch file; QGHVQQ’ f‘amQG/VI VdV'Lng‘Q. Y— TX, J/x')/ maxi A EU] = M = c O A W V 71 fimfix] ELK—3:,” Var Hoax +bj —‘—' 4“ Vow DU Uflvy 19W, msJLt -1... 615 E E V 776 Frauen» Mao‘an 33 < ram (0" 0e0¢ '50 min/mrie esvbmjL ’2 d :- So/vtVOOS Frauen )0) Q (J?) ha, e6?) = EEOP W1] a EEXL ~2M +93 ‘ Eff] ’29 E131 + x ’4' flCCQSSa? (onfi‘éldA ’7: "£0 MIOIMIEQ, Ls Lg: EC?) to: x :9; £3? (9. at?) M .‘v ’— ZEEXZX- Z? EEG-r- 2‘3 -ZEL-x] +- 2/)? (heal/y 1910. Vko2 z] m A2— 11% ‘20 =0 7%» QMJE awn; ,6 Warm é. cams? [kr-EDCII fr. Ham 3 ‘l ( hikes Prob‘em Lei 8: pm 33 = Pfflfll’ PER-5] = 2.7.!) ? TM MAP 7; Y is FY 3 z '1’}: if ‘lw " =2. '33 O a’flm 1.41139. {Y=?-3U ZYr-n‘g (TY-=13 +FEY=F1 r .L. 2 EE ‘1 776 pala‘em 65% 5— JJJE-Ions W CHEMQ ~3— Fram Theo/em 2.1?) :' ;-_—~ '2. #:L— 0 adieu/:82. O oflermy; 06:? 1:55. fowl-b) EEYIB] 3 iaPYIB(y) ;: \ (I/L) + 2.0/2.) :— 3/; 9‘ a L 4- 2"(‘3 5/ EDI-.163 _.; Zflzf‘flfiy) ,_ t (1/7) /L 2. 7 MREY‘Q: EEYI6]“(EEY161>L = 57—: '77 3 {7 an 5 name," 226) (0‘3 - Cons. er W‘s cwth fort: out» no @anOJ/h £er) where. WCLe'S-S 'Tke number 4.; % baa ugéJ ‘Uv, £54. success (thin) «Hulk/re) La.) th. geome‘fino PM}: A" I) 2'; W F F n 9 -- (n :: . P“ » Z 0 otkezwtsg. 0")‘0ra [7: Prowl’ré % ‘afl/VVQ- {I 4"? fi‘V‘e’) (P 5 0.. EE 1770 Pro Hem sag :- sap-£4,» Vr‘Hem 3G (219%; 2%,?) m The. MP &1 M, an, amp» (/4145 M on an ar‘a'lzmra 924/ 1“ 6((-6)m #72031) “@752 o 371:1» >0]: 1» ppm-:0] : 1—;. o 'LKO/Msn (b7 w FIFE/maze]: 2 307?) =-Q‘5D Cc) .ea-ck 194‘? we, NA a, mo‘rW—flwn “Vt-61 prb~4,/t% r. ‘Q'wk We g0 nJe mm at. Marac‘flk/r) will/A f’rJ7*éI/I%' law ' 1" 6°“L (jar) ‘LXerz. «re, 3G5- flqy$ ’7" W‘H‘J‘ ""9, Or my an' run a" m qr¢~£hun . ~ 3652‘ PM): Egcrhm‘” ; /’02’flm3“‘ O a 110 “Asia Pitch”? Fsz26+kj (591 PDQ \l ‘5 Y~ .35 {he mafia/(’5! / flex esén'é fl W1 kd—VQ, run 0" Mardfl'o/b BE W75 probgm 3G Vmbfam we 5 sch-Am; 00 C PKlfi (b7 : F£m=ze+bj _‘ 0-591%" 71:41 “,5’3275 o ‘thQI-vts-ea W pmb’em In orga- '50 Jami-.542. «sump/85 % polssor; rat/00m vunaéé jerm‘Q. the. mama firm m wank 4,, 2’10. book (52° (high. XZL % d“ [Dre/Qua £17 19‘4- ukbafljreg)‘ aw wx” naaoa’ at“, (on X : POESOI) Y‘V Caipka.) m) ‘ $1770 We use poissonrv.m to generate random samples of a Poisson (a = 5) random variable. To compare the Poisson PMF against the output of poissonrv, relative frequencies are calculated using the hist function. The following code plots the relative frequency against the PMF. function diff=poissontest(alpha,m) x=poissonrv (alpha ,m) ; xr=0:ceil(3*alpha); pxsample:hist(x,xr)/m; pxsample=pxsample(z); prsample=(countequal(x,xr)/m); px=poissonpmf(alpha,xr); plot(xr,pxsample,xr,px); diff=sum((pxsample-px).‘2); For m = 100,1000,10000, here are sample plots comparing the PMF and the relative frequency. The plots Show reasonable agreement for m : 10000 samples. 5 (a) m = 1000 (b) m = 1000 0.2 0.2 0.1 0.1 0 0 0 5 10 15 0 5 10 15 (a) m = 10,000 (b) m 2 10,000 ...
View Full Document

This note was uploaded on 07/23/2008 for the course EE 497B taught by Professor Schiano during the Spring '08 term at Pennsylvania State University, University Park.

Page1 / 7

ps5_soln - EE 40175 ’3me Sat 5 saw—Am; BEES-.231 (Yak:...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online