MATLAB Answers

How to approximate one array based on another array?

1 view (last 30 days)
Maaz Madha
Maaz Madha on 21 Feb 2021
Commented: Image Analyst on 21 Feb 2021
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 Comment
Image Analyst
Image Analyst on 21 Feb 2021
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?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by