Problem 44947. Find the Oldest Person in a Room
In the first test suite, Robinson and Reed both have the same age, so I think either the test suite should be improved or Reed's age in the .mat file should be changed.
Tricky question though
rh x = I don't think you need the  in your max matrix.
where I can get the standard answer?
Easy staff. Don't think too much. First find the maximum age, then use the index of the maximum age and by using that you'll find the corresponding name.
a challenging problem
I solved the problem in MATLAB but on here it did not work. I found the index of the maximum number in the variable age, and then used that to output a name with the same index in the name variable.
not that hard
Solution CommentsShow comments
Problem Recent Solvers13463
Create a Multiplication table matrix...
More from this Author13
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!