Problem 14. Find the numeric mean of the prime numbers in a matrix.

There will always be at least one prime in the matrix.

Example:

 Input  in = [ 8 3
               5 9 ]
 Output out is 4 or (3+5)/2

Solution Stats

47.94% Correct | 52.06% Incorrect
Last Solution submitted on Nov 20, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers8909

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!