review 3 version A ahNg4d

review 3 version A ahNg4d - b2= 13 b3=20 T=10 i=1 for...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 Review 3 version A 1) U= [ 10 28 32 34 40 40 43 44 46 48] plot(U,1:10) xlabel('Class Day') ylabel('Unit') title('Dalton Monteiro Progress') 2) A = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 B = [9 10 17 13 4 14 1 3 2 7 16 19 21 18 5 23 46 29 30 26 Part A: C = A.*B C = 9 20 51 52 20 84 7 24 18 70 176 228 273 252 75 368 782 522 570 520 567 616 713 768 825 Part B: max(C) ans = 567 782 713 768 825 Part C: sum(C') ans = 152 203 1004 2762 3489 sum(C) ans = 1204 1653 1583 1660 1510 3)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Sheet1 Page 2 e=2.72 b1= 7
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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: b2= 13 b3=20 T=10 i=1 for t=1:0.5:25 y1(i)=1-e^(-b1*t) y2(i)=1-e^(-b2*t) y3(i)=1-e^(-b3*t) x(i)=t i=i+1 end plot(x, y1,x, y2,x, y3) 4) e = 2.72 a=4 b=9 theta = 60 i=1 for t = 0:0.1:0.25 omega1 = 10 omega2 = 17 omega3 = 13 y1(i) =a*(e^(b*t))*cos((omega1*t)+ theta) y2(i) =a*(e^(b*t))*cos((omega2*t)+ theta) y3(i) =a*(e^(b*t))*cos((omega3*t)+ theta) x(i)=t i=i+1 end plot(x,y1,x,y2,x,y3,'*') Sheet1 Page 3 21 22 23 24 25] 27 28 31 32 33] Sheet1 Page 4...
View Full Document

Page1 / 4

review 3 version A ahNg4d - b2= 13 b3=20 T=10 i=1 for...

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

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