Recent content by Ultimato

  1. U

    MATLAB Troubleshooting ODE Systems in MATLAB: Common Errors and Solutions

    Sorry for the disturb but I have some problem with the syntax With this system of equation: NO2 = a*Co2' - g*Co2*(-Co2' - Ch2o') NH2O = b*Ch2o' - g*Ch2o*(-Co2' - Ch2o') where NO2, NH2O, a, b, g are known Is correct to write in Matlab: function dC = HTPEMMode(x,C) global A B G...
  2. U

    MATLAB Troubleshooting ODE Systems in MATLAB: Common Errors and Solutions

    I think that I've solved it, the ode function must be in another "worksheet" to run; now works :)
  3. U

    MATLAB Troubleshooting ODE Systems in MATLAB: Common Errors and Solutions

    Hi to everyone, I have some problem in implementing a ODE system in matlab. function dC = Model(x,C) dC = zeros(2,1); dC(1) = -2/C(1) -3*dC(2); dC(2) = -3/C(2) -4*dC(1); [x,C] = ode23(@Model(x,C),[0 300],[56.9 0]); plot(x,C) The debugger says "? Input...
Back
Top