필터 지우기
필터 지우기

What interpolation means and how to do it

조회 수: 1 (최근 30일)
Giulia
Giulia 2023년 1월 17일
댓글: Stephan 2023년 1월 18일
Hi,
I have X data of time (date format) and Y data of depth; I need to interpolate Z data of water temperature. What in simpler terms mean and how can I do it on Matlab?
Below my sets of data and a plot so far displaying depth against time.
Thank you in advance for your help!
  댓글 수: 4
Giulia
Giulia 2023년 1월 18일
Thanks both, I have read everything on Matlab, and I think I got how to create the meshgrid and apply the interp2 function, I just don't know how to do it with my (x) time variable, as it's got date and time in the format '04/07/2022 18.00'
Stephan
Stephan 2023년 1월 18일
You could use datenum to create the needed input format for interp2 - but it is not recommended to use it. It's just a quick and dirty approach.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by