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
Solution Comments
Show comments
Loading...
Problem Recent Solvers589
Suggested Problems
-
2278 Solvers
-
Find the largest value in the 3D matrix
1677 Solvers
-
964 Solvers
-
6247 Solvers
-
500 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!
Please like it if it was helpful to learn basic commands!
Hello, @Szász
Before submitting a problem, make sure -
1) You are not submitting something that has already been posted or anything similar. Mostly, this consists of the simplest of problems related to MATLAB.
2) You are submitting problems with atleast 3 test cases. This is to ensure people solve the problem diligently and to discourage the use of hack/hard-coded solutions.
3) You use helpful tags for the problem so that it is helpful to the members of the community.
Thank You Joshi!
Yes! Thank you Joshi
I think this problem still needs to be moved out of this problem group.
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
It should be, and the problem statement has been corrected.