Problem 50801. Find x rows where the sum of the numbers is the maximum
Solution Stats
Problem Comments
-
7 Comments
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.
Solution Comments
Show commentsProblem Recent Solvers433
Suggested Problems
-
Make a random, non-repeating vector.
9286 Solvers
-
552 Solvers
-
1205 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
1510 Solvers
-
Converts numbers into characters
1325 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!