[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59709] ode event handler function is incorrec
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1] |
Date: |
Thu, 17 Dec 2020 12:12:43 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #1, bug #59709 (project octave):
I have a patch that appears to work for this case. However, I'd like to
understand how Matlab handles multiple events that happen on the same
timestep. I'm uploading a new file test_event5.m. Could someone with access
to Matlab run the following code and then upload the diary file?
diary on
x0 = 5;
maxT = 8;
opt5 = odeset ('Events', @test_event5);
sol5 = ode45 (@myode, [0,maxT], x0, opt5);
sol5.xe
sol5.ye
sol5.ie
diary off
(file #50504)
_______________________________________________________
Additional Item Attachment:
File name: test_event5.m Size:0 KB
<https://file.savannah.gnu.org/file/test_event5.m?file_id=50504>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59709>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1], Rik, 2020/12/17
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1], Rik, 2020/12/17
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1],
Rik <=
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1], Hg200, 2020/12/17
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1], Rik, 2020/12/17
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1], Hg200, 2020/12/17
- [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1], Rik, 2020/12/17