Forum FlexPro – Discuss your topic!

Zugriff auf Datenreihen einer Matrix innerhalb einer Schleife

Accueil > Community > FPScript > Zugriff auf Datenreihen einer Matrix innerhalb einer Schleife

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12521
    rax23@gmx.derax23@gmx.de
    Member

    Gerne würde ich aus einer Datenmatrix auf eine einzelne Datenreihe zu greifen. Wie ist dafür die Schreibweise im FPScript? Das ganze soll dann in einer For-Schleife Datenreihenweise abgearbeitet werden so daß jeweils das Maximum einer Datenreihe aus der Matrix gelesen wird!

    #8843
    Bernhard KantzBernhard Kantz
    Participant

    You can extract individual values or sections from data series, data fields, signals, signal series and space curves with the index operator in FPScript.

    Example:
    Data matrix[ScalarValue] takes the column with the number speciefied in Scalar Value from the data matrix. The result is a data series.

    With the argument Mode in the FPScript function Maximum you can determine one maximum per column / row. So you don’t need a For-Loop.

    See also
    FlexPro Online Help
    Index Operator (FPScript)
    Maximum-Function (FPScript)

    Support@weisang.com

    #8844
    rax23@gmx.derax23@gmx.de
    Member

    The question was how it is possible to access line by line data-values of a data-matrix!?

    #8845
    Bernhard KantzBernhard Kantz
    Participant

    Data matrix[ ] [ScalarValue] takes the row with the number specified in ScalarValue from the data matrix. The result is a data series.

    The table in the online help lists all of the possible combinations of the index operator.

    #8184
    rax23@gmx.derax23@gmx.de
    Member

    Gerne würde ich aus einer Datenmatrix auf eine einzelne Datenreihe zu greifen. Wie ist dafür die Schreibweise im FPScript? Das ganze soll dann in einer For-Schleife Datenreihenweise abgearbeitet werden so daß jeweils das Maximum einer Datenreihe aus der Matrix gelesen wird!

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