Topic
formula to put at 0 data between -5 and +5
- This topic has 2 replies and 2 voices and was last updated 18 years, 1 month ago ago by maraval frédéric.
-
AuthorPosts
-
28.03.2007 at 20:11 #34025maraval frédéricParticipant
We are using flexpro standard. We have data name tension with 2 columns one X time event and the other Y tension value. We want to put at zero some tension value comprising between two level ( ex -5 at +5 ) from a list of data.
thanks for your help28.03.2007 at 20:11 #34027maraval frédéricParticipantWe are using flexpro standard. We have data name tension with 2 columns one X time event and the other Y tension value. We want to put at zero some tension value comprising between two level ( ex -5 at +5 ) from a list of data.
thanks for your help28.03.2007 at 22:31 #34026Bernhard KantzParticipantIn this case you can use the FPScript-function [b]ValuesInInterval[/b] and the [b]Index Operator[/b].
– Calculate the indices of the values between -5 and 5.
– Set the y-values of these indices to 0.[code]
Dim Sig = Tension
Sig.Y[ValuesInInterval(Sig, -5.00000000000000, 5.00000000000000, EVENT_INDEX)] = 0
Sig
[/code] -
AuthorPosts
- You must be logged in to reply to this topic.