Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ECE 309 Intro to MATLAB Lecture 1.33 Exercise Set 3 1 0 9 A=11 201, B-2 1 4 [312

ID: 3745318 • Letter: E

Question

ECE 309 Intro to MATLAB Lecture 1.33 Exercise Set 3 1 0 9 A=11 201, B-2 1 4 [312 Enter the matrices Define the row vector a as the first row of matrix A, by selecting the s elements from A. b Define the column vector b as the first column of matrix B, by selecting the elements from E. Define scalar c as the element in row 2, column 3 of matrix B, by selecting the element from B. d Define the submatrix C as the 2 x 2 upper-left submatrix of A, by e Construct a row vector x, consisting of: 1, 1.08, 1.16, . 1.88 selecting the elements from A Construct a column vector y that is the transpose of vector X. Concatenate matrices A and B, with B underneath A. Intro. to MATLAB Lecture 1.34 0

Explanation / Answer

A = [ 2 3 7; 1 2 0; 4 1 5] B = [ 1 0 9; 2 1 4; 3 1 2] a = A(1, :) b = B(:, 1) c = B(2, 3) C = A(1:2, 1:2) x = 1:0.08:1.88 y = x' g = [A; B]