How to give equal/more weight/percentage between two times?

1 次查看(过去 30 天)
Hi everyone,
I am using two satellite datasets. I have matched date but I am facing problem in collocating their time.
Data1 is 6 hourly: 00,06,12,18
Data2 is after every 5 minutes.
I want that if Data2 is at 0300 hrs both 0000 hrs (Data1) and 0600 hrs (Data1) to contribute equally (50% from 0000 and 50% from 0600). And if Data2 is at 0500/0505/0510 more contribution should be from 0600 hrs of Data1 and less from 0000 hrs. Is interpolation required here?
I would really appreciate if someone can give any suggestion about the above problem. Thank you

回答(1 个)

Image Analyst
Image Analyst 2022-6-12
Take a look at duration and related functions.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by