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 Solvers423
Suggested Problems
-
Back to basics 21 - Matrix replicating
1801 Solvers
-
Generate N equally spaced intervals between -L and L
944 Solvers
-
Replace multiples of 5 with NaN
468 Solvers
-
477 Solvers
-
Back to basics - mean of corner elements of a matrix
463 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!