Suppose that A is a 10 x 10 matrix, and we want to extract a submatrix consisting of rows 5 to 9, and columns 3 to 8 of

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Suppose that A is a 10 x 10 matrix, and we want to extract a submatrix consisting of rows 5 to 9, and columns 3 to 8 of

Post by answerhappygod »

Suppose That A Is A 10 X 10 Matrix And We Want To Extract A Submatrix Consisting Of Rows 5 To 9 And Columns 3 To 8 Of 1
Suppose That A Is A 10 X 10 Matrix And We Want To Extract A Submatrix Consisting Of Rows 5 To 9 And Columns 3 To 8 Of 1 (112.01 KiB) Viewed 45 times
Suppose that A is a 10 x 10 matrix, and we want to extract a submatrix consisting of rows 5 to 9, and columns 3 to 8 of A. What single Matlab command (using 10 characters or less) could accomplish this? (Assume that the matrix A has already been defined in Matlab, and has been called A.) Note that for this question you should test your answer to see if it works. For this purpose it would be useful to have a 10 x 10 matrix sitting around somewhere. There are several ways to quickly generate matrices in Matlab. For example, rand (10) will produce a 10 x 10 matrix whose entries are random numbers between 0 and 1. magic (10) will produce a 10 x 10 magic square matrix.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply