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 5 Spring 2010 Due Date: 3/1/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 sections 20 through 23 in the MatLab Tutorial and Sections 4.1  4.4 and 4.6 in the textbook (Herniter) to get an overview of the material covered in this assignment. 1. (30 pts.) Write a program that uses nested for loops to perform the calculation C = A * B where A = 1 2 3 4 5 6 7 8 9 B = 9 8 7 6 5 4 3 2 1 You will need to use a total of three for loops to perform this calculation. For this problem you may not use the builtin matrix multiplication operator ( * ) or the sum() function. Instead you should use your nested loops and appropriate array addressing to multiply the matrices. Upload your final MatLab program to D2L. 2. (35 pts.) The two fundamental operations in a paraxial raytrace are transfer and refraction. For a system of thin lenses in air these operations are described by the matrices T = 1 t 0 1 R = 1 φ 1 where t is the transfer distance and φ is the power of a given thin lens. The paraxial properties of a ray can be mapped through the system by successive application of the transfer and refraction matrices....
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