isBalancedPrime(3) = false;
isBalancedPrime(7) = false;
isBalancedPrime(5) = true; % since (3+7)/2 = 5
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers30
Suggested Problems
-
Create a cell array out of a struct
2591 Solvers
-
Magic is simple (for beginners)
11722 Solvers
-
276 Solvers
-
Sum of diagonals elements of a matrix
234 Solvers
-
Find the index of n in magic(n)
275 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!