11-20-2024 07:09 PM
Hi,
I'm currently collecting kinematic data samples and for some reason, I've noticed that I'm missing part of the data here and there.
I want to use a cubic spline interpolation function to "estimate" the missing part and make the data into a smooth line however, I couldn't figure out how to do that in LabView.
The data uploaded is a part of the data and as you can see, there are some parts that are just empty.
The VI that I attached, I got from one of the forum posts. (Link) But it only does linear interpolation.
I would be so grateful if anyone could help me with this one!
Thank you and have a great rest of your day 🙂
11-20-2024 09:43 PM - edited 11-20-2024 09:44 PM
Can you do a "save for previous, 2020 or below" and attach again. Many here cannot open VIs saved in 2024.
(You should also give your VI a more unique name, because a Vi with that names has already been posted before in your linked thread)
11-21-2024 12:22 AM
Absolutely!
I saved it for 2020 and 2019. But if you need something before that, I will reupload them!
Thank you
11-21-2024 12:57 AM - edited 11-21-2024 12:58 AM
I am not sure if spline is the correct method, because the discontinuities near the gaps seem to create peaks that might be fake.
Here's how it would look like. (I took the liberty of simplifying things a bit since you only have one column. Note that I zoomed the x-axis to some interesting sections
11-21-2024 07:47 PM
That is awesome!! Thank you so much!!
You mentioned that spline might not be the optimal choice since it might create unintended peaks. Do you have any other suggestions??
Best,