Test1A_F09 - TEST#1 PGE 310 Name Signature UT EID NOTES 1...

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

View Full Document Right Arrow Icon
TEST #1 (Feb 19, 2009) PGE 310 Name: Signature: UT EID: NOTES: 1. You have 1 hour and 15 minutes. Points will be deducted for tests turned in after 1:45 2. Write your name (or EID) on all pages of the test 3. SHOW ALL WORK. Partial (or any credit) cannot be given for problems without work shown
Background image of page 1

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

View Full DocumentRight Arrow Icon
1. Short Answer. SHOW ALL WORK (40 points) Consider the following arrays for problem 1 x=[2 -1 4]; y=[ -1 3 2]; A=[1 -1 2; 2 3 -1]; B= [2 0 1; -1 2 -2]; (a) Determine if x and y’ are orthogonal. (a) Determine if the vector x or the vector y is larger in magnitude. Use the L 1 norm to support your answer. (b) Compute >> A.^B (c) Compute >> x(2:3)*A (d) Using a single command replace the number in the 2 nd row and 1 st column of A with the number in the 1st row and 2nd column of B >>
Background image of page 2
(e) Write the MATLAB code that is equivalent to the following ∑ ∑ = = + 99 5 , 3 , 1 5 1 3 i j j i (f) Create the following vector using a single command in MATLAB: C=[10 1.1 10 1.2 10 1.3 ….10 9.0 ] (f)
Background image of page 3

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

View Full DocumentRight Arrow Icon
2. Consider the following Matlab code written in a script file and determine the value
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/21/2010 for the course PGE 310 taught by Professor Klaus during the Spring '06 term at University of Texas.

Page1 / 7

Test1A_F09 - TEST#1 PGE 310 Name Signature UT EID NOTES 1...

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

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