File:Markov chain.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Markov_chain.png(288 × 177 pixels, file size: 1 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Markov chain, two possible states. The chart shows two different chains (they have different transition matrices).
Date
Source Own work
Author Jakob.scholbach
This graph image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.


It is recommended to name the SVG file “Markov chain.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

Source code with Mathematica

In[163]:= a=0.8; b=0.5; a2=0.8; b2=0.3; n[x_]:=If[][Equal]0,If[][]>b,0,1],If[][]>a,0,1]] n2[x_]:=If[][Equal]0,If[][]>b2,0,1],If[][]>a2,0,1]]

In[178]:= num=50; co=1000;

In[190]:= li=Table[0,{i,1,num},{j,1,co}]; Do[]1,j =0,{j,1,co}] Do[]i+1,j=n[]i,j],{i,1,num-1},{j,1,co}] Do[]i=Sort[]i],{i,1,num}] li2=Table[0,{i,1,num},{j,1,co}]; Do[]1,j =1,{j,1,co}] Do[]i+1,j=n2[]i,j],{i,1,num-1},{j,1,co}] Do[]i=Sort[]i],{i,1,num}]

In[12]:= <<Graphics`Graphics`

In[44]:= <<Graphics`Animation`

In[155]:= <<Graphics`MultipleListPlot`

In[230]:= MultipleListPlot[][][][[i,

   j]],{j,1,co}],{i,1,num}],Table[][]i,j,{j,1,co}],{i,1,
       num}]},PlotStyle\[Rule]{{Red,Thickness[.01]},{Black,Thickness[.01]}},\

SymbolStyle\[Rule]{Red,Black},PlotRange\[Rule]{{1,num},{-30,co}},

     PlotJoined\[Rule]{True,True}];

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:56, 5 January 2009Thumbnail for version as of 20:56, 5 January 2009288 × 177 (1 KB)Jakob.scholbach (talk | contribs){{Information |Description=same as before, but with different transition matrices |Source= |Date=5 Jan 2009 |Author=~~~~ |Permission= |other_versions= }} source code with Mathematica <nowiki> In[436]:= a=1; b=0.1; a2=.8; b2=.3; n[x_]:=If[x\[Equal]
20:49, 5 January 2009Thumbnail for version as of 20:49, 5 January 2009288 × 177 (1 KB)Jakob.scholbach (talk | contribs){{Information |Description=same as before, but with different transition matrices |Source= |Date=5 Jan 2009 |Author=~~~~ |Permission= |other_versions= }} source code with Mathematica <nowiki>In[351]:= a=1; b=0.5; a2=.8; b2=.3; n[x_]:=If[x\[Equal]0,
20:20, 5 January 2009Thumbnail for version as of 20:20, 5 January 2009393 × 243 (2 KB)Jakob.scholbach (talk | contribs){{Information |Description={{en|1=Markov chain, two possible states. The chart shows two different chains (they have different transition matrices).}} |Source=Own work |Author=Jakob.scholbach |Date=05 January

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: