Problem 1816. 07 - Common functions and indexing 1
Define cMat:

( cMat = 10x10 matrix where the numbers from 1 to 100 runs down the columns)
Calculate cSum as the column-wise sum of cMat. The answer should be a row vector
Solution Stats
Problem Comments
-
1 Comment
Jan Orwat
on 14 Aug 2013
What for? Badges?
Solution Comments
Show commentsProblem Recent Solvers451
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15764 Solvers
-
Swap the first and last columns
22429 Solvers
-
Back to basics 22 - Rotate a matrix
929 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
578 Solvers
-
1705 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!