Entropy Versus Time - Random Walks

1 visualización (últimos 30 días)
Thomas
Thomas el 11 de Jul. de 2016
Comentada: Thomas el 13 de Jul. de 2016
I've created a "Coffee in Cream" random walks program and now I want to create an Entropy (Y) Vs. Time (X) graph.
I know how to create a graph, but how do I get the data?
TIA

Respuestas (1)

Tyler
Tyler el 11 de Jul. de 2016
I'm not an expert on this stuff, but you should look into axis handles, here is an answer that may help-
https://www.mathworks.com/matlabcentral/answers/100687#answer_110036
  1 comentario
Thomas
Thomas el 13 de Jul. de 2016
No that doesn't answer my question, I must not be explaining it properly.
I want to create an Entropy Vs Time graph based off a random walk. I have the Time data, that's easy. I also have the formula for Entropy (s = -sum(p .* log2(p))). My problem is the probability (p in my formula). I know that I can create a grid and from that find out how many molecules of cream are in a certain area in the grid, that gives me p. I just don't know how to do it.
Thanks for the link however, I did learn new information that I'll use in the future.

Iniciar sesión para comentar.

Categorías

Más información sobre Discrete Data Plots en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by