Cody

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

Created by Cody Team in Community

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

46.61% Correct | 53.39% Incorrect
Last solution submitted on Jan 23, 2019

Problem Comments

Solution Comments

Recent Solvers5304

Suggested Problems

More from this Author95

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!