| Author |
Comment/Response |
Antonio Fernandez
|
01/22/13 09:41am
Hello everyone I am trying to do a markov chain simulation, however my problem is that the "listplot" function gives results in the form of a graph, and I cannot count the number of times a certain state has been chosen. So is there a function in Mathematica to do so, or is there another way of presenting the data is a sequence like "2,1,1,1,3,2,1,2,2,3," so I can use the "count" function to count what I want? I cannot count it manually since the simulation is long and is extremely tedious so any help would be very much appreciated, I have been searching around for 2 hours and cant find this simple function, so I hope someone can help me out. Thank you.
URL: , |
|