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
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
589 Solvers
-
5874 Solvers
-
402 Solvers
-
1645 Solvers
-
Replace every 3rd element in a vector with 4
267 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!