Pixel density tells us how many pixels we can find within a unit of length. And according to the Android developer guide:
- Low-density screens have 120 PPI.
- Medium-density screens have 160 PPI.
- High-density screens have 240 PPI.
A 24" monitor may have low density if its maximum resolution is small, which means we might lose finer details while gaming or editing images/videos. Given the diagonal of a display in inches, d, and its resolution in pixels, w x h, return its pixel density.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers14
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52937 Solvers
-
The Goldbach Conjecture, Part 2
2413 Solvers
-
Flip the main diagonal of a matrix
905 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
683 Solvers
-
156 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!