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

837 Solutions

532 Solvers

Last Solution submitted on Jan 23, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers532

Suggested Problems

More from this Author70

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!