Question: 2. (35 Points) Create a 10x10 matrix in MATLAB that contains only zeros and ask the user to enter the first 2 values and the

2. (35 Points) Create a 10x10 matrix in MATLAB that contains only zeros and ask the user to enter the first 2 values and the last 2 values of the matrix so the result is like that shown in the following image: Variables-matrix matrix X 10x10 double 4 10 12 10 12 13 14 15 16 The user should be able to enter the values of 5 and 3 (or any two integer values) for the first and last two positions in the matrix. DO NOT hardcode the pattern. Hint: begin with matrix-zeros(R,C)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
