Integration of a system of differential equations MATLAB
问题 I am a fairly new Matlab user which I had to explore to numerically integrate a system of differential equations. Now I am trying to resolve a simple equation but which gives me a "lambertw" output. (s - 1) * exp(-s) = k Therefore, for a given k, with k < exp(2) I should get approximately two different values of "s". Here is the bit of code I use for this task (using symbolic toolbox): %%Hopf bifurcation calculations syms s solve((s-1) * exp(-s) == k, s) %uhopf = s*k And the output: 1 -