![]() Therefore sampling every 0.2 seconds will miss the positive and negative peaks. You can see that the output data, which is sampled every 0.2 seconds, clearly differs from the input data (note the bottom around 12:00 PM). Here are graphs, also from the attached experiment, showing the original data (data0 vs timeW - I renamed your waves for simplicity): The output is a waveform with the X data represented in the wave's X scaling. It uses linear interpolation (/T=1) with "X From Dest" (/I=3). "X From Dest" allows precise control over the X locations at which the input data is sampled. This command is from a function that I wrote called Create5HzData. I did that with this command: Interpolate2 / T= 1 / I= 3 /N= (numOutputPoints ) / Y= $dataOutName timeIn, dataIn ![]() I now want to interpolate them all into full strict 5Hz data So your times are roughly 5Hz on average but not consistently close to 5Hz. I then executed this to find the average time difference: Print mean (timeDiffs ), WaveMin (timeDiffs ), WaveMax (timeDiffs ) ![]() Notice that the time differences (last column) are of unequal magnitude.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |