MATLAB Answers

How can I define a time-dependent (species) reaction rate for an model in SimBiology?

4 views (last 30 days)
Puru Raj
Puru Raj on 13 Apr 2021
Answered: Jeremy Huard on 21 Apr 2021
I want to define that a specie A is being produced given by 2 degree quardratic equation as a function of time. How to define it ?

Sign in to comment.

Answers (1)

Jeremy Huard
Jeremy Huard on 21 Apr 2021
Hi Puru,
I would recommend you to create a reaction null -> A with a custom reaction rate defined by the quadratic equation. In this reaction rate you can use the variable time, which is a reserved word in SimBiology and corresponds to the current time of the simulation.
Best regards,


More Answers in the  SimBiology Community

Community Treasure Hunt

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

Start Hunting!