image thumbnail


version (1.55 KB) by N/A
Gives dimensions of a television or rectangle, given the diagonal size and aspect ratio.


Updated 23 Jan 2009

View License

This function accepts the diagonal size (the size usually advertised) in inches of a television's screen, as well as the aspect ratio of that television, as inputs, and returns the width and height of the television screen in inches. Technically, this function will give the width and height of any rectangle where only the diagonal size and aspect ratio are known.

Enjoy! :o]

Cite As

N/A (2021). tv_dimensions (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!