Interpolate uniform to non-uniform sampling, artifacts with spline
2 次查看(过去 30 天)
显示 更早的评论
Hi, I have to resample uniformly sampled data to a non-uniform sampling. I use the spline function for this, and if the sample shift does not exceed a threshold, this works fine. But if it does, I get artifacts and the data gets messed up. Are there any better ways to achieve this? Thank you
2 个评论
Image Analyst
2017-5-14
Post your data and what you've tried so far. I don't see any reason why it should behave as you say. Also include screenshots. And define what a "sample shift" is, and how you are coming up with the non-uniform x values.
John D'Errico
2017-5-14
编辑:John D'Errico
2017-5-14
The crystal ball is so foggy. You have told us only that you are doing something wrong. However, the good news is my crystal ball does tell me that you will come into a considerable sum of money in the near future. Hmm. Or maybe it tells me that you will meet a monkey soon. :)
Seriously, you need to give some details if you expect any intelligent help.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!