How to approximate one array based on another array?
1 次查看(过去 30 天)
显示 更早的评论
Hi all
So I have an array
and another array
and I want to approximate the first array intp the second so that the the code would find what time from the second array is closest to that of the first and get the indexes of that


1 个评论
Image Analyst
2021-2-21
You forgot to attach the arrays in a .mat file so we can read them in and try some things. We can't run code on an image. Have you tried interp1()? Or ismember()? Or one of the elapsed time duration functions that they have? What would be your desired output for this example?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!