Question: ( Block Matrix ) In this problem, we will construct a matrix of a very particular form. Specifically, it should look like [ I 0
Block Matrix In this problem, we will construct a matrix of a very particular form.
Specifically, it should look like
I
B I
where the size of B will be determined from keyboard input and will consist of random
integers between and An example of a matrix of this form is
blockmat Function:
Input variables:
none
Keyboard inputsscreen outputs:
prompts the user for the number of rows and columns to be used in
constructing the matrix B
Output variables:
the block matrix
A possible sample case is:
A blockmat
Enter the number of rows for the block B:
Enter the number of columns for the block B:
A
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
