Problem 501. Let's do Markov Chains!
Solution Stats
Problem Comments
-
5 Comments
perhaps it's been changed already, test 2 does not look underconstrained (one additional constrain of mc is that its columns should add up to 1)
In fact tests 2 and 3 are 'overconstrained' (you do not need the 'states' information to solve these)
Please, do not use isequal with floats, check them against some tolerance: abs(a-b) < tol. Currently rounding numbers to 2 decimal places seems to fix the issue if the test suite is not updated. Good problem.
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
Find the sum of all the numbers of the input vector
51178 Solvers
-
2316 Solvers
-
Find common elements in matrix rows
2680 Solvers
-
How many trades represent all the profit?
605 Solvers
-
Find Index of maximum Value and maximum Value of a vector
166 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!