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
-
Back to basics 17 - white space
280 Solvers
-
1561 Solvers
-
Matrix indexing with two vectors of indices
785 Solvers
-
Convert a vector into a number
621 Solvers
-
Getting the indices from a vector
12595 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!