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

1627 Solutions

560 Solvers

Last Solution submitted on Feb 27, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Group


Problem Recent Solvers560

Community Treasure Hunt

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

Start Hunting!