-
1 Comment
Agnish Duttaon 2 May 2019
a = [0 1 0 0; 0 0 1 0];
c = 2;
How is the second one the one with the highest money? The first one has $ 0.10 whereas, the second has 0.05.
a = [ 0 1 2 1; 0 2 1 1];
c = 1;
Here too! How is the first one higher? When you evaluate, you get $ 0.21 for the first one and $ 0.26 for the second.
Suggested Problems
Program an exclusive OR operation with logical operators
671 Solvers
Find the sum of the elements in the "second" diagonal
1060 Solvers
680 Solvers
689 Solvers
Sum of first n positive integers
483 Solvers
More from this Author95
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!