# Forum FlexPro – Discuss your topic!

## Missing data in formula with envelope curve

Accueil > Community > FPScript > Missing data in formula with envelope curve

Viewing 3 posts - 1 through 3 (of 3 total)
• Author
Posts
• #12742
Anonymous
Guest

Hello all,
with two formulas i calculate the upper and lower envelopes.
Both envelopes have X-axis from 0-60 sec, but different number of values ??(372 and 349 points).
In a other formula I subtract (UpperEnvelope – Lower Envelope)
Surprisingly, this result has only a length of 0-55sec and 349 points.

Why do I lose this data, respectively 5sec of time?
How can I force the calculation to consider all points?

#8408
Anonymous
Guest

Hello all,
with two formulas i calculate the upper and lower envelopes.
Both envelopes have X-axis from 0-60 sec, but different number of values ??(372 and 349 points).
In a other formula I subtract (UpperEnvelope – Lower Envelope)
Surprisingly, this result has only a length of 0-55sec and 349 points.

Why do I lose this data, respectively 5sec of time?
How can I force the calculation to consider all points?

#9208
Bernhard Kantz
Participant

You have to resample one of your signals using the Sample-function.
Example:
1. formula Upper: UpperEnvelope(Signal)
2. formula Lower: LowerEnvelope(Signal)
3. formula Diff: Upper – Sample(Lower, Upper.x)

support@weisang.com

Viewing 3 posts - 1 through 3 (of 3 total)
• You must be logged in to reply to this topic.