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
-
Flip the main diagonal of a matrix
916 Solvers
-
698 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
893 Solvers
-
Reverse the elements of an array
1129 Solvers
-
Matlab Basics - Create a row vector
317 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!