MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

NDSolve with Piecewise function


Hi, I am wanting to use NDSolve on a piecewise function but am running  
into some trouble. Basically what I want to do is this:

NDSolve[
{Piecewise[{{FunctionsA, -.001 < x < .001}}, FunctionsB]}
, {x, y, z}, {t,10^-5}]

So I have x,y,z as functions of t that I want to solve for and in a  
certain region of x I want to use a different set of equations. I am  
not really sure if I can go about it this way or not though. Any help  
on how to tackle such an equation would be greatly appreciated.


  • Prev by Date: Problems to find the local extrema of an InterpolatingFunction
  • Next by Date: Re: SparseArray memory usage
  • Previous by thread: Re: Problems to find the local extrema of an InterpolatingFunction
  • Next by thread: Re: NDSolve with Piecewise function