D use the colon operator to create a matrix d by extracting


A=[3.4,2.1,0.5,6.5,4.2;4.2,7.7,3.4,4.5,3.9;8.9,8.3,1.5,3.4,3.9]

(a) Print out the matrix A.

(b) Create a matrix B by extracting the first column of matrix A.

(c) Create a matrix C by extracting the second row of matrix A.

(d) Use the colon operator to create a matrix D by extracting the first through third columns of matrix A.

(e) Create a matrix F by extracting the values in columns 2, 3, and 4 and combining them into a single column matrix.

(f) Create a matrix G that puts the maximum value in each row of A into a column matrix.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: D use the colon operator to create a matrix d by extracting
Reference No:- TGS0567523

Expected delivery within 24 Hours