how to tell MATLAB to rewrite a complex equation into a michaelis-menten form equation?

I'm using MATLAB to derive rate equations for enzyme kinetic mechanisms. These rate equations are usually very large and contain lots of k-values (k1, k2, k3,...). The simplest output that matlab generates is an equation like this:

v = -k3*k1*s/(-k2-k3-k1*s)

I would like to tell MATLAB to rewrite this equation into the standard michaelis-menten type equation: v = vm*s/(km+s), where vm and km stand for the k-values. In this simple case this would yield:

v = k3*s/((k2+k3)/k1+s)

Does anyone know how to do this? thanks!

Answers


Here’s something you could try:

syms vm km s
pattern = vm*s/(km+s);
values = solve(v == pattern, vm, km);
subs(pattern, values)

I don’t think there’s any reason to switch to a different system, really, unless of course you prefer another system for other reasons. MATLAB does this sort of manipulations just fine (with the Symbolic Math Toolbox, in this case, but from your question, I kind of assumed you have that).


Need Your Help

How to keep iphone ios xmpp connection alive while in the background?

iphone ios background connection xmpp

The XMPPFramework for iPhone is powerful. I have it up and running, but how do you keep the connection alive while in the background for more than 10 minutes? I would appreciate some more documen...

How to paginate response from function based view of django rest framework?

django pagination django-rest-framework

I have written a code snippet like below, i need to achieve pagination in this, kindly let me know how is it possible. Also due to some reasons i want to use only function based views.