Problem 42640. Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ?
(Hint - formula based)
A = [1 2 3;4 5 6]; output = 6
Solution Stats
Problem Comments
-
1 Comment
Manish Joshi
on 1 Oct 2015
it just needs a function to be solved
Solution Comments
Show commentsProblem Recent Solvers297
Suggested Problems
-
Back to basics 22 - Rotate a matrix
887 Solvers
-
Solve the set of simultaneous linear equations
395 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10259 Solvers
-
Matlab Basics II - Log and natural log
176 Solvers
-
348 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!