How many cm is 1pixel for a screen resolution of "640x360"

I would like to measure and verify the real-time distance of an object with my code. the co-ordinates returned are in pixels and I am aware that pixels to cm conversion varies from one resolution to another. My screen resolution is "640x360"..how many pixels will make 1 cm in this case? Please help!
Thank you!

Réponses (1)

Niklas Nylén
Niklas Nylén le 2 Juin 2014
That depends on the size of your screen. If your screen is 20 cm wide, each pixel will be 20/640 = 0.125 cm wide.

Catégories

En savoir plus sur Line Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by