Television Screen Dimensions - MATLAB Cody - MATLAB Central

Problem 1072. Television Screen Dimensions

Difficulty:Rate

Given a width to height ratio of a TV screen given as w and h as well as the diagonal length of the television l, return the actual width and height of the screen to one decimal point of precision.

Example:

    w = 16;
    h = 9;
    l = 42;
    [W,H] = teledims(w,h,l);

outputs

    W = 36.6
    H = 20.6

Solution Stats

37.53% Correct | 62.47% Incorrect
Last Solution submitted on Feb 22, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers541

Suggested Problems

More from this Author56

Community Treasure Hunt

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

Start Hunting!
Go to top of page