Define the matrix cMat:

( cMat = 10x10 matrix where the numbers from 1 to 100 runs down the columns )
Create the variable cSub, defined as the submatrix of cMat containing rows 2-9 and columns 2-9 of cMat
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers424
Suggested Problems
-
1073 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Create matrix of replicated elements
402 Solvers
-
Sum the numbers on the main diagonal
620 Solvers
-
375 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!