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).
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...
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...
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...
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...
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
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...
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...