10-08-2014 11:26 AM
Hi,
I want to find 1st and 2nd derivative of an array.
The time spacing is not equal , and i need non-equal time space for my application.
Can any one suggest the easy way to do it?
10-08-2014 02:43 PM
10-08-2014 03:17 PM - edited 10-08-2014 03:33 PM
Hi,
I tried with simple maths dx/dt and used Derivativex(t).vi with backward differenciation bt its not giving me good result.
10-08-2014 03:43 PM
Please be more specific than "not giving me good result." What is not good about the result? Does it not generate any result? Is the result incorrect by 1%? Is the result noisy? Is the result the wrong shape?
The signal you have drawn is likely discontinuous at points B and E, so some non-smooth result would be expected there.
How many points are in each segment?
Consider the Savitsky-Golay filter for calculating the derivatives. I think someone, possibly Dr. Gray, posted a link to a means of using it on unequally spaced data.
Reampling or other forms of interpolation may be useful also.
Lynn
10-09-2014 03:40 AM
Thank u..
Will try with Golay technique.