What interpolation means and how to do it
조회 수: 1 (최근 30일)
이전 댓글 표시
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1266735/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1266740/image.png)
댓글 수: 4
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!