How to approximate one array based on another array?

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 Kommentar

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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 21 Feb. 2021

Kommentiert:

am 21 Feb. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by