4 Matrix Indexing Create Following Matrix 34 21 05 65 427 42 77 34 4 5 3 9 89 83 15 34 39 Q43870336
has to be done in matlab
4. Matrix Indexing: Create the following matrix A [3.4 2.1 0.5 6.5 4.27 4.2 7.7 3.4 4,5 3,9 8.9 8.3 1.5 3.4 3.9 40. Create a matrix B by extracting the first column of matrix A. Create a matrix C by extracting the second row of matrix A. 42. Use the colon operator to create a matrix D by extracting the first through third columns of matrix A. 43. Create a matrix F by extracting the values in rows 2, 3, and 4, and combining them into a single column matrix. 44. Create a matrix G by extracting the values in rows 2, 3, and 4, and combining them into a single row matrix. 41. Show transcribed image text 4. Matrix Indexing: Create the following matrix A [3.4 2.1 0.5 6.5 4.27 4.2 7.7 3.4 4,5 3,9 8.9 8.3 1.5 3.4 3.9 40. Create a matrix B by extracting the first column of matrix A. Create a matrix C by extracting the second row of matrix A. 42. Use the colon operator to create a matrix D by extracting the first through third columns of matrix A. 43. Create a matrix F by extracting the values in rows 2, 3, and 4, and combining them into a single column matrix. 44. Create a matrix G by extracting the values in rows 2, 3, and 4, and combining them into a single row matrix. 41.
Expert Answer
Answer to 4. Matrix Indexing: Create the following matrix A [3.4 2.1 0.5 6.5 4.27 4.2 7.7 3.4 4,5 3,9 8.9 8.3 1.5 3.4 3.9 40. Crea…
OR