Problem 50801. Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is
2 3 5
0 2 3
5 5 6
0 9 4
then y =
5 5 6
0 9 4
Solution Stats
Problem Comments
-
7 Comments
Show
4 older comments
Ralph
on 13 Jul 2022
I think this problem still needs to be moved out of this problem group.
Vidit
on 9 Nov 2022
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is
2 3 5
0 2 3
5 5 6
0 9 4
then y =
5 5 6
2 3 5
Shouldn't y be
5 5 6
0 9 4 ?
as 13>10
Dyuman Joshi
on 10 Nov 2022
It should be, and the problem statement has been corrected.
Solution Comments
Show commentsProblem Recent Solvers457
Suggested Problems
-
Read a column of numbers and interpolate missing data
2316 Solvers
-
Compute a dot product of two vectors x and y
1002 Solvers
-
713 Solvers
-
Simple equation: Annual salary
4203 Solvers
-
1774 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!