Topic
Zugriff auf Datenreihen einer Matrix innerhalb einer Schleife
- This topic has 4 replies and 2 voices and was last updated 20 years, 5 months ago ago by rax23@gmx.de.
-
AuthorPosts
-
20.12.2004 at 23:48 #33354rax23@gmx.deParticipant
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!
21.12.2004 at 00:33 #33351Bernhard KantzParticipantYou can extract individual values or sections from data series, data fields, signals, signal series and space curves with the index operator in FPScript.
Example:
[b]Data matrix[ScalarValue][/b] 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 [b]Maximum[/b] 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)21.12.2004 at 01:10 #33352rax23@gmx.deParticipantThe question was how it is possible to access line by line data-values of a data-matrix!?
21.12.2004 at 01:26 #33350rax23@gmx.deParticipantGerne 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!
21.12.2004 at 01:26 #33353Bernhard KantzParticipant[b]Data matrix[ ] [ScalarValue][/b] 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.
-
AuthorPosts
- You must be logged in to reply to this topic.