I have a data acquisition of position sensor. When in LABIEW, this data is in number form. I wish to take the derivative with respect to time of the position. How to you take the slope of two adjacent points. I know the time step but I dont know how to subtract two adjacent points to get the slope
I tried that but when I tested it for an sine input i just got back a sine waveform of different amplitude. I'm not sure if I am using the index array functions or the while loop correctly. Distinguishing between the index (i) and index (i+1) i used the shifting (?) property of the while loop to get the previous value for (i).
Sure, the derivitive of a sine wave, is also sine wave (actually a cosine). so you would still get a sinosoid, but with a phase diffrenece of 90 degrees