This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Jorden van Leeuwen
on 10 Jan 2021
It should be mentioned in the problem that hotels and ratings are column vectors.
My solution
good = hotels(ratings >= cutoff)';
failed because I (imho correctly) assumed that a list is a row vector.
Hello Say
on 5 Oct 2021
cool
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!