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
-
1915 Solvers
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
Compute a dot product of two vectors x and y
1052 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 Solvers
-
5370 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!