Click here to Skip to main content
15,920,383 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Fast path finding algorithm Pin
Member 41945939-Aug-11 19:42
Member 41945939-Aug-11 19:42 
GeneralRe: Fast path finding algorithm Pin
Member 419459310-Aug-11 3:53
Member 419459310-Aug-11 3:53 
AnswerRe: Fast path finding algorithm Pin
BobJanova1-Jun-11 2:01
BobJanova1-Jun-11 2:01 
AnswerRe: Fast path finding algorithm Pin
dasblinkenlight1-Jun-11 6:52
dasblinkenlight1-Jun-11 6:52 
AnswerRe: Fast path finding algorithm Pin
YDaoust2-Jun-11 0:05
YDaoust2-Jun-11 0:05 
QuestionReal time peak identification Pin
Wjousts25-May-11 4:32
Wjousts25-May-11 4:32 
AnswerRe: Real time peak identification Pin
AspDotNetDev25-May-11 5:06
protectorAspDotNetDev25-May-11 5:06 
GeneralRe: Real time peak identification Pin
Wjousts25-May-11 7:54
Wjousts25-May-11 7:54 
AspDotNetDev wrote:
I'm not sure what you mean by "second to last point"


What I'm trying to do is basically this[^].

So, given a new point, the nth point, I can calculate the gradient at the previous point, n-1, but dividing the difference between the value of n-2 (the second to last point) and n with the difference in time between n-2 and n. I.e. I get an approximation of dV/dt. According to Wikipedia, the three point approximation is somehow better than the two point version?

Actually looking at this again made me realize that I've been attributing the gradient to point n, when in fact it belongs to n-1.
AnswerRe: Real time peak identification Pin
Luc Pattyn25-May-11 5:30
sitebuilderLuc Pattyn25-May-11 5:30 
GeneralRe: Real time peak identification Pin
Wjousts25-May-11 8:43
Wjousts25-May-11 8:43 
AnswerRe: Real time peak identification Pin
Luc Pattyn25-May-11 13:45
sitebuilderLuc Pattyn25-May-11 13:45 
GeneralRe: Real time peak identification Pin
Wjousts26-May-11 8:45
Wjousts26-May-11 8:45 
AnswerRe: Real time peak identification Pin
Luc Pattyn26-May-11 9:09
sitebuilderLuc Pattyn26-May-11 9:09 
GeneralRe: Real time peak identification Pin
Wjousts26-May-11 9:20
Wjousts26-May-11 9:20 
AnswerRe: Real time peak identification Pin
Luc Pattyn26-May-11 9:44
sitebuilderLuc Pattyn26-May-11 9:44 
AnswerRe: Real time peak identification Pin
Peter_in_278025-May-11 13:38
professionalPeter_in_278025-May-11 13:38 
AnswerRe: Real time peak identification Pin
Luc Pattyn25-May-11 14:52
sitebuilderLuc Pattyn25-May-11 14:52 
GeneralRe: Real time peak identification Pin
Peter_in_278025-May-11 16:14
professionalPeter_in_278025-May-11 16:14 
GeneralRe: Real time peak identification Pin
Wjousts26-May-11 9:10
Wjousts26-May-11 9:10 
AnswerRe: Real time peak identification [modified] Pin
Peter_in_278029-May-11 14:17
professionalPeter_in_278029-May-11 14:17 
GeneralRe: Real time peak identification Pin
Wjousts31-May-11 3:55
Wjousts31-May-11 3:55 
AnswerRe: Real time peak identification Pin
InfRes31-May-11 21:31
InfRes31-May-11 21:31 
GeneralRe: Real time peak identification Pin
Wjousts1-Jun-11 8:15
Wjousts1-Jun-11 8:15 
AnswerRe: Real time peak identification Pin
YDaoust31-May-11 21:47
YDaoust31-May-11 21:47 
GeneralRe: Real time peak identification Pin
Wjousts1-Jun-11 8:17
Wjousts1-Jun-11 8:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.