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 comentario

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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 21 de Feb. de 2021

Comentada:

el 21 de Feb. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by