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.


 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 Mar 21, 2019

Problem Comments

Solution Comments

Recent Solvers5381

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!