Return how many integer grid points there are inside a 3D sphere of radius r centred at (0,0,0) (including points on the edge).
Neither string operations nor interpolations are allowed!
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers66
Suggested Problems
-
Sum of first n terms of a harmonic progression
526 Solvers
-
Number of 1s in a binary string
11701 Solvers
-
Getting the indices from a vector
12569 Solvers
-
Given a matrix, return the last eigen value
233 Solvers
-
579 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!