Cody

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

84.58% Correct | 15.42% Incorrect
Last Solution submitted on Feb 26, 2020

Problem Comments