Home > Community > FPScript > divide dataset to multiple datasets > Antwort auf: divide dataset to multiple datasets

#8764
Bernhard KantzBernhard Kantz
Teilnehmer

1) You could use VBA to create the FPScript formulas (which use the index operator).
2) You could use the Reshape-function to convert a signal into a signal series.
Example:

Formula SignalSeries


Dim y = Reshape(Signal.Y, {20, NumberOfRows(Signal.Y)/ 20})
Dim x = Reshape(Signal.X, {20, NumberOfRows(Signal.X)/ 20})
Signal(y,x)

Now you can create a formula for each signal:


SignalSeries[0]
...

support@weisang.com