This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: OPTI 280 Assignment 2 Spring 2010 Due Date: 2/8/10, 1:00 PM Each assignment is worth 100 points. Assignments that are handed in late will be penalized 15 points per week. Read sections 11 through 14 in the MatLab Tutorial and sections 4.2.1 and 7.1  7.2 in the textbook (Herniter) to get an overview of the material covered in this assignment. NOTE: To receive full credit for any problem, you must hand in printouts of all programs you are asked to write as well as printouts of the command window output and any figures that the programs produce. Write the answers to any question(s) associated with each problem at the end of the program for that problem (on the same sheet, if possible). 1. (15 points) Each part in this question is equally weighted. (a) Write a MatLab statement that will create a 25 element vector with equallyspaced values from R(1) = 0 to R(25) = 50 . (b) The statements X = 0 : 100 and X = linspace(0,100,100) do not produce identical vec tors. How does the linspace() function need to be modified so that it produces the same...
View
Full
Document
 Spring '10
 Pau

Click to edit the document details