LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the pt by pt derivative disregard initial points?

Solved!
Go to solution

Can the pt by pt derivative disregard initial points? The attached vi shows a spike in the beginning.  I don't know how to eliminate this.

 

 

Message Edited by nicholas03 on 02-14-2009 06:19 PM
Download All
0 Kudos
Message 1 of 2
(2,721 Views)
Solution
Accepted by topic author nicholas03

The derivative of the first point is actually undefined.  How do you want it to show up?  As a zero or not at all?

 

What you can do is have a case structure or select statement where if the the iteration value i = 0 then feed a zero or an NaN to the waveform chart instead of the result of the derivative function.

Message Edited by Ravens Fan on 02-14-2009 10:01 PM
Message 2 of 2
(2,711 Views)