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
it just needs a function to be solved
1627 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1063 Solvers
367 Solvers
Sum of diagonal of a square matrix
1159 Solvers
204 Solvers