Timeline for Errors in Integral Estimate of Gaussian using Trapezoidal Rule
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2021 at 11:41 | comment | added | Cazador | Yep that turned out to be the problem, oops! Thanks guys! | |
May 12, 2021 at 0:44 | comment | added | Amit Hochman | It looks to me like a simple bug: in the second version, the one that works, linspace is called with N+1, which means there are N subintervals. But in the first version, that doesn’t work, linspace is called with N, which means there are N-1 subintervals. The subinterval size, dt, is assumed in both cases to be 2r/N, consistent only with the linspace in the second version. | |
May 11, 2021 at 13:44 | comment | added | Ian Bush | Not totally sure I understand what you are saying in the above, but is people.maths.ox.ac.uk/trefethen/sirev56-3_385.pdf of interest, especially around page 400? | |
May 11, 2021 at 5:58 | comment | added | Amit Hochman | Perhaps your error is that you have only N-1 subintervals but your dt is set as if you had N subintervals | |
May 10, 2021 at 23:20 | history | edited | Cazador | CC BY-SA 4.0 |
added 1481 characters in body
|
Mar 24, 2021 at 1:27 | review | First posts | |||
Mar 24, 2021 at 14:17 | |||||
Mar 24, 2021 at 1:22 | history | asked | Cazador | CC BY-SA 4.0 |