How to use Gillespie's algorithm in MATLAB to display chemical reactions

Hi everyone, I am trying to use MATLAB to do Gillespie's algorithm for chemical reactions:
A + B --> C with rate f,
and C --> decay with rate d,
in which f = d = 1/s.
At time 0, A(0) = 20, B(0) = 10 and C(0) =10.
Could you please help me with this, probably using random number generator to represent probalities of each reactions?
Thank you all very much!

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeChemistry についてさらに検索

質問済み:

2019 年 11 月 22 日

回答済み:

2019 年 11 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by