-
1 Comment
Bård Skaflestadon 2 Feb 2012
Why does the second row have more change than the first in
a = [ 0 1 2 1; 0 2 1 1];
Does this setup not mean that row 1 has
0*0.25 + 1*0.05 + 2*0.1 + 1*0.01=0.26
whereas row 2 has 0*0.25 + 2*0.05 + 1*0.1 + 1*0.01 = 0.21 < 0.26?
What am I missing?
Suggested Problems
73557 Solvers
Find the longest sequence of 1's in a binary sequence.
4582 Solvers
540 Solvers
574 Solvers
634 Solvers
More from this Author95
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!