FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

formula to put at 0 data between -5 and +5

Startseite ' Community ' Allgemein ' formula to put at 0 data between -5 and +5

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #34025
    maraval frédéric
    Teilnehmer

    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 help

    #34027
    maraval frédéric
    Teilnehmer

    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 help

    #34026
    Bernhard Kantz
    Teilnehmer

    In 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]

    support@weisang.com

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.