Solution Found!
[M] For block operations, it may be necessary to access or
Chapter 2, Problem 26E(choose chapter or problem)
Problem 26E
[M] For block operations, it may be necessary to access or enter submatrices of a large matrix. Describe the functions or commands of your matrix program that accomplish the following tasks. Suppose A is a 20 × 30 matrix.
a. Display the submatrix of A from rows 15 to 20 and columns 5 to 10.
b. Insert a 5 × 10 matrix B into A, beginning at row 10 and column 20.
c. Create a 50 × 50 matrix of the form
[Note: It may not be necessary to specify the zero blocks in B.]
Questions & Answers
QUESTION:
Problem 26E
[M] For block operations, it may be necessary to access or enter submatrices of a large matrix. Describe the functions or commands of your matrix program that accomplish the following tasks. Suppose A is a 20 × 30 matrix.
a. Display the submatrix of A from rows 15 to 20 and columns 5 to 10.
b. Insert a 5 × 10 matrix B into A, beginning at row 10 and column 20.
c. Create a 50 × 50 matrix of the form
[Note: It may not be necessary to specify the zero blocks in B.]
ANSWER:
Solution 26E
- Display the sub matrix of A obtained from rows 15 to 20 and columns 5 to 10
:
: (,15..20,5..10)
Mathematica Take[,{5,10}]
(b) Insert a 510 matrix B into rows 10 to 14 and columns 20 to 2