HW Lecture 09

HW Lecture 09 - Steven Lovaglio EGR 1705-006 3/12/08...

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

View Full Document Right Arrow Icon
Steven Lovaglio EGR 1705-006 3/12/08 Homework Lecture #9 MatLAB pg. 53 # 6, 11 6. a >> % Generate an evenly spaced vector of values from 1 to 20, in increments of 1. >> X=[1:1:20] X = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6. b >> %Generate a vector of values from zero to 2Pi in increments of Pi/100. >> Y=[0:pi/100:2*pi] Y = Columns 1 through 17 0 0.0314 0.0628 0.0942 0.1257 0.1571 0.1885 0.2199 0.2513 0.2827 0.3142 0.3456 0.3770 0.4084 0.4398 0.4712 0.5027 Columns 18 through 34 0.5341 0.5655 0.5969 0.6283 0.6597 0.6912 0.7226 0.7540 0.7854 0.8168 0.8482 0.8796 0.9111 0.9425 0.9739 1.0053 1.0367 Columns 35 through 51 1.0681 1.0996 1.1310 1.1624 1.1938 1.2252 1.2566 1.2881 1.3195 1.3509 1.3823 1.4137 1.4451 1.4765 1.5080 1.5394 1.5708 Columns 52 through 68 1.6022 1.6336 1.6650 1.6965 1.7279 1.7593 1.7907 1.8221 1.8535 1.8850 1.9164 1.9478 1.9792 2.0106 2.0420 2.0735 2.1049 Columns 69 through 85 2.1363 2.1677 2.1991 2.2305 2.2619 2.2934 2.3248 2.3562 2.3876 2.4190 2.4504 2.4819 2.5133 2.5447 2.5761 2.6075 2.6389 Columns 86 through 102
Background image of page 1

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

View Full DocumentRight Arrow Icon
2.6704
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

HW Lecture 09 - Steven Lovaglio EGR 1705-006 3/12/08...

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

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