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 Solvers430
Suggested Problems
-
Make a run-length companion vector
633 Solvers
-
Sum the elements in either diagonal of a square matrix
208 Solvers
-
275 Solvers
-
Create an index-powered vector
682 Solvers
-
405 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!