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 7 Spring 2010 Due Date: 3/22/10, 1:00 PM Each assignment is worth 100 points. Assignments that are handed in late will be penalized 15 points per week. 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 all command window output and any plots that the programs produce. All programs must conform to the programming rules handed out at the beginning of the semester. Upload your programs to the D2L dropbox. Read section 26 in the MatLab Tutorial and Sections 4.4 and 7.9.6 in the textbook (Herniter) to get an overview of the material covered in this assignment. 1. (25 pts.) Use MatLab to perform the sort operations indicated below on vector x and matrix A where x = ( 1 . 8 2 . 1 3 . 3 17 . 9 2 . 2 5 . 9 3 . 3 ) A =  2 . 4 6 . 6 7 . 9 3 . 1 9 . 0 14 . 2 13 . 1 12 . 1 1 . 9 (a) Sort x in ascending order. (b) Sort x in descending order. (c) Sort the rows of A in ascending order. (d) Sort the columns of A in descending order. (e) Use the unique() command to find the values in x that do not repeat. 2. (35 pts.) The probability of n events occurring in a fixed period of time T given that these events occur at a known average rate λ and independently of the time since the last event is given by...
View
Full
Document
This note was uploaded on 05/23/2010 for the course OPTI 280 taught by Professor Pau during the Spring '10 term at University of Arizona Tucson.
 Spring '10
 Pau

Click to edit the document details