Recent content by ryan.j

  1. R

    Solving ODE Convergence Problem with Secant Approximation

    With a scale that small, it is likely that you are unable to resolve due to the machine precision of your platform. Try normalizing your units of time to something much smaller than seconds (assuming that's the unit you're using now).
  2. R

    MATLAB How to use Matlab ODE solver events to stop an integration

    After ruminating on it through the night I came up with a solution. If someone knows of a better way to do this, by all means share it. What I did was create a variable that was global to both the "Tprime_converger" function and the "Tprime" function, which is the function where the system of...
  3. R

    MATLAB How to use Matlab ODE solver events to stop an integration

    How to use Matlab ODE solver "events" to stop an integration I'm using Matlab's ODE solver (specifically ode15s) to solve a system of equations. The sum of the values of the equations eventually arrive at a steady state, but the time at which that occurs is dependent on several things, not...
  4. R

    Who is your favorite philosopher?

    No Rand or Camus?! Nothing shy of an affront.
  5. R

    Solving Non-Linear Diffusion Eqn w/ Eigenfunction Expansion

    I'm trying to solve a non-linear time-dependent diffusion equation to find R(x,t). To do so, I'm positing that : R(x,t)=\sum^{J}_{1}X_{i}(x)T_{i}(t) which allows me to arrive at something that looks like : dT_{i}/dt=A_{i}T_{i}(t)-B*T_{i}(t)^{2} The problem I'm having, through sheer...
  6. R

    MATLAB Problems integrating in a for loop in Matlab

    Thank you kindly for taking the time to help me out. Member Joffan just pointed it out to me as well. Unbelievably simple mistake, and even more unbelievable failure to see it. Especially given that I've a dozen other functioning Matlab scripts with heavy use of for loops. Thanks again...
  7. R

    Problems integrating in a for loop in Matlab

    Wow. I'm laughing at myself. Thank you kindly. A case of plain and simple space cadetery on my part. ". . .Embarrassingly simple. . ." doesn't do justice to this one. thanks for taking the time. -ryan
  8. R

    Problems integrating in a for loop in Matlab

    I appreciate the help, but the syntax I've listed is the equivalent Matlab "translation" of the C++/FORTRAN loop syntax.
  9. R

    MATLAB Problems integrating in a for loop in Matlab

    Problems integrating in a "for" loop in Matlab My problem strikes me as embarrassingly simple, so hopefully someone can set me straight with ease. I'm writing a Matlab code in which I'll be wanting to do a good amount of integrating of products of various eigenfunctions. Presently, I'm just...
  10. R

    Problems integrating in a for loop in Matlab

    Problems integrating in a "for" loop in Matlab My problem strikes me as embarrassingly simple, so hopefully someone can set me straight with ease. I'm writing a Matlab code in which I'll be wanting to do a good amount of integrating of products of various eigenfunctions. Presently, I'm just...
Back
Top