MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Sorry for the empty message. Here is the problem with DiscreteMarkovProcess...


The code

len=3;
v=RandomInteger[1000,len];v=v/Total[v];v
Total[v]
tm = RandomReal[1, {len, len}];
tm = #/Total[#] & /@ tm;
dmp = DiscreteMarkovProcess[v, tm]
Graph[dmp]
MarkovProcessProperties[dmp]

works as advertised.

Change len=7 and the code does not work.
On my system, len=4 works, but len=5 does not.

What is going on?

On Wed, Jan 2, 2013 at 10:41 AM, Richard Palmer <rhpalmer at gmail.com> wrote:

> The code
>
>
>
> --
> Richard Palmer
>
> Home                            941 412 8828
> Cell                               508 982-7266
>
>


-- 
Richard Palmer

Home                            941 412 8828
Cell                               508 982-7266




  • Prev by Date: Re: Large SparseArray in Mathematica 9 and the predictive interface
  • Next by Date: NDSolve is not deterministic in its solutions??
  • Previous by thread: Re: Large SparseArray in Mathematica 9 and the predictive interface
  • Next by thread: NDSolve is not deterministic in its solutions??