S08.hw04.soln - EC 320 syn-ad 2,005 ‘ row P3333031 391 14...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
Image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
Image of page 7

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

View Full Document Right Arrow Icon
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EC? 320 syn-ad 2,005? - ‘ row P3333031 391? 14 Soiufiom 7 .1 ...-WW.- " ._..: _W W WWW. _ -..-_.._._____.W.WW-._._..._._-. ___-__ ._. _....._._....-__---..,-_-W___.-_- WW WWW-_- __W.-_W...-W.W o1)_.-.e .--.---._q- 6Q.-._.-.----_::::?W Q. 4....OW-___.-___-....--WW :W--Q--W WW We 6 -FW- -W WW W W... —-) 430M . - ._.-1.-__-.-.11h-.--_-_-_»-- __..-31%;: 1.111311% :3.- -!--- __..- W W ,— . _ {an 3IL FM -_ ___-.-.--.,-_;-.-.1.1132I51-3313,1331- _ 11-31 W W" 1,. WW ._ W WW kWPLWWW- W _. ... ._ _W-WW_ -_ ___.__ _._W___....'__. l1 :1 2:1..- -..-19- __--2- __ -_ -- 3:9 - -- ‘_1__ W122}:- ..- 3-1-0- _- 1-1.:- --._-_2I_. _ _ .- _W _ ._ LEW- __.. _-__'—_I__'Q-;|;,i.;:;:..'____:__,_ 1.1.} _ WW- W W" ..- ”"L____-.;.__- ._._. WW. ._WJWLW WW... ._..... ...—..- W." -_.-...“...W- ._.... 1.3V «‘— -_ “6‘5”” 9"" _._WWW..--W-:__._._-___-.-.._.W_._W__--1W..__._._.... ...-_szmL-SI ..WW. ILL..- Knew-£11!“ 1;:va mi. 57:3 $0 472319 ._W WWW thlfl 111.9." {yifigflb Slat: I 22 1m-L111_- --1:m:i::::if:::: iii _- - 1; ---.L,L.0______ -_ - _ __ __- -- - WW W11 ._ -- __ _ -__ fii"fI§fT-i:i::::::iff:::;iflfl:lf:mff {70H 4 V 15%):ng fl? [ ( 1% 6W __ .. .7 k 4% ( d (flog—Jam“) ) cad— Gaye 2 ~' 2- &MI 5.1 (°< *FHGéH Mum] [fl]! QWEL(X+ 1% ”10) J ‘ (4,2 (”[waH (x fl]. W .2 W “W ( M(...(gg(gi;_;_ " élél 2 [ML (WIN MquMW __ ' <(pi 2; JIx ;( 9...." W (9 (4., 9:0. Vow. N=10; betafiou75; x0=lu0; xmzeros(N,l); x(1)=x0; for iz2:length(x) X(i)=beta*cos(x(i—1)); end figure; - plot(x,'k') grid; xlabel(‘n'); ylabel('x_n'); print mdeps p012 1 eps xx=zeros(2*N,l); yy=zeros(2*N,l); xx(l)=x0; YY(1)=0H0; for i=2:2:length(xx) xx(i):xx(i—l); - yy(i)=beta*coS(xx(i))i if i+l<=length(xx) xx(i+l)$yy(i)i yy(i+1)=yy(i); end end t=[0H0:0.Ol:ln5*X0]} figure; hold on plot(xx,yy,'k‘)} plot(t,beta*cos(t),'k',t,t,'k'); hold off grid; xlabel('x'); print —deps p012 2heps fprintf(l,'x(%d)=%g\n',length(x),x(end)); pow J E 5 E i i . Confifimflcflwwxfiwunfiocoacxmfliti .. . . “I .. .\.. 7.}. 1—; 3:" 3— .>_. .0. c0 MACE"? 5'5 0. SEED»? paid?“ M. "a” ............ m... . MARC... , _ l .. ”XL. ... .. ..i ”Ax ......2‘55... . .w‘mmu my} a WWW-HM"— “ _ ,_ E :35“ fl ”' Lfimxfilfixwifii . - 9 Hu We? mm 52 rx m E, 2‘ X. wr_ REA RH = 13F: E, + E 9“ “F: : Y?” _>‘ T: i..i_....'_: ”'93“ 4::- W5 “HM; paw-J— Wl ’- E'J'o E1? 5) 7C “‘7” W Pm‘i -» XCHK‘C It?!“ 2.;- So W hm [Lam ..g...“ .. .... for; ‘7’ Naloj x0=3u0; x=zeros(N,l); x(l)=x0; for i=2:length(x) x(i):0u5*x(i—1) + 1 0/x(i—1); end . figure; ' plot(x,'k') grid; xlabel('n'); ylabel('x_n'); print —deps p013 1 eps xx=zeros(2*N,l); yy=zeros(2*N,l); xx(l)fix0; yy(1)=0m0;- for i=2:2:length(xx) xx(i):xx(i;l); yy(i)=0‘5*xx(i) + luO/Xxfi); if i+1<=length(xx) xx(i+l)*yy(i); yy (1+1) =yy (i); ‘ end' end t=[l“0:0.01:lq5*x0]; figure; hold on plot(xx,yy,'k‘); plot(t,0a5h*t + inc /t,‘k',t,t,'k'); hold off grid; xlabel('x'); print "deps p013n2ueps fprintf(l,'x(%d)=%g\n',length(x),x(end)); ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern