solved05

# solved05 - S 5.1 (P 2.3) _ [2 ; -1] = [1 ; 0] - [-1 ; 1]...

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

S 5.1 (P 2.3) ______________ [2 ; -1] = [1 ; 0] - [-1 ; 1] Thus B*[2 ; -1] = B*[1 ; 0] - B*[-1 ; 1] = [3 ; -2 ; -1] - [4 ; 7 ; 2] = [-1 ; -9 ; -3] B is a 3x2 matrix. S 5.2 (P 2.4) _____________ [3 ; 3] = [-1 ; 1] + 2*[2 ; 1] Thus G*[3 ; 3] = G*[-1 ; 1] + 2*G*[2 ; 1] = u + 2*v S 5.3 (P 2.1) _____________ A = [1 2 3 4; 5 6 7 8; 9 10 11 12]; (i) I = [1 3]; J = [1 4]; A(I,J) ans = 1 4 9 12 (ii) K = [1 4]; L = [4 1]; B = A; B(:,K) = A(:,L) B = 4 2 3 1 8 6 7 5 12 10 11 9 (The choice K = [4 1] , L = [1 4] works also.) (iii) C = A(:) is the concatenation (in order of increasing column index) of all columns of A into a single column vector. C =

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

View Full Document
1 5 9 2 6 10 3 7 11 4 8 12 (iv) Note that RESHAPE(A,M,N) is the same as taking A(:) and parsing it into N columns of size M, to obtain a M by N matrix. D = (reshape(A.',6,2)).' D = 1 2 3 4 5 6 7 8 9 10 11 12 S 5.4 (P 2.5) ______________ (i) The three unit column vectors are e_1 = [1; 0; 0] = [1 0 0].' e_2 = [0; 1; 0] = [1 0 0].' e_3 = [0; 0; 1] = [1 0 0].' We have
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 10/18/2011 for the course ENEE 241 taught by Professor Staff during the Spring '08 term at Maryland.

### Page1 / 5

solved05 - S 5.1 (P 2.3) _ [2 ; -1] = [1 ; 0] - [-1 ; 1]...

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

View Full Document
Ask a homework question - tutors are online