| Author |
Comment/Response |
Michael
|
05/29/12 7:19pm
In Response To 'Re: Re: probleme with eventLocator method' --------- I don't know whether you can change the parameter u with EventAction.
When I use x[t] (x[t] - 4), I seem to get more events than with {x[t], x[t]-4}, but I get the same output graph.
I don't think I can help much -- sorry, but I have one last suggestion. Judging from the bouncing ball example in the documentation center, tutorial/NDSolveEventLocator, you would have to call NDSolve (with the new u) every time an event is encountered. You would be integrating from event to event. Then stitch all the results together. The bouncing ball example shows a way to do it.
Hope that helps.
URL: , |
|