Recent content by bflbfl

  1. B

    MATLAB Substitutions with ODE23/45 in MATLAB

    Thank you for your reply. So here are the equations: dN/dt = I/q - N/Tau_n - g(N,S)*S % derivative of the no. of carriers, N(t) dS/dt = [g(N,S) - 1/Tau_p + log(100)/Tau_D] * S + R_sp; % derivative of the no. of photons, S(t) dphy/dt = (alpha/2) * 3.2e3 * (N-N_th) + 20/Tau_D; % derivative of...
  2. B

    MATLAB Substitutions with ODE23/45 in MATLAB

    Just to mention that Tau, Kapa, Tau_n, Tau_p and alpha are constants.
  3. B

    MATLAB Substitutions with ODE23/45 in MATLAB

    Hi everybody, I am trying to solve laser rate equations with MATLAB using ODE23/45. For that I have to write the derivative terms always on the left hand side. This creates a lot of redundant variables in the function. Here is a part of the code: dy(1) = I/(q*V) - y(1)/Tau_n - y(4)*y(2)...