test case 2 is underconstrained (either of the two zeros could be changed) and test case 3 doesn't account for increased precision.
hmm, sorry man. This was just for fun so people might get interested in markov chains, so I didn't think too hard about the test cases :)
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)
Which values occur exactly three times?
Project Euler: Problem 7, Nth prime
Poker Series 03: isFullHouse
Sum of diagonal of a square matrix
Make an awesome ramp for a tiny motorcycle stuntman
Snakes on a plane
You LOVES Matlab 41%
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office