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
-
Program an exclusive OR operation with logical operators
803 Solvers
-
Volume difference between Ellipsoid and Sphere
137 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Convert a Cell Array into an Array
2340 Solvers
-
Remove element(s) from cell array
2114 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!