Problem 2558. Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix
A=[1 2 3;4 5 6 ;7 8 9];
Answer must be: 45
If you like this problem, please clik below on like
Solution Stats
Problem Comments
-
1 Comment
Jean-Marie Sainthillier
on 6 Sep 2014
Most frequently asked Cody problem.
Solution Comments
Show commentsProblem Recent Solvers519
Suggested Problems
-
Return a list sorted by number of occurrences
2839 Solvers
-
4447 Solvers
-
Getting the absolute index from a matrix
251 Solvers
-
1444 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
390 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!