Forum FlexPro – Discuss your topic!

How to add X values to imported ASCII data

Accueil > Community > General > How to add X values to imported ASCII data

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12692
    Richard WeisangRichard Weisang
    Keymaster

    I am importing data from an ASCII file without X channel, but I know the sampling rate. How can I get this into my data sets?

    #8355
    Richard WeisangRichard Weisang
    Keymaster

    I am importing data from an ASCII file without X channel, but I know the sampling rate. How can I get this into my data sets?

    #9128
    Bernhard KantzBernhard Kantz
    Participant

    You should create a formula named “_Sig” with the following content:

    
    Arguments y, samplingrate 
    Signal(y, 1. / samplingrate)
    

    You can now convert your data sets into signals by selecting them in the FlexPro Explorer and simply dragging and dropping them onto the name of the above formula. FlexPro then asks for a value for the sampling rate.

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