interpolate monthly values to daily

hello I have monthly temperature values matricies from 1961-1990 and need to interpolate the monthly data for each year to be daily, (make it from 12 values to 365 values for each grid), can any one write me the code please. thank you

댓글 수: 1

the cyclist
the cyclist 2012년 2월 14일
I won't write your code for you, but two functions that you will find useful are datenum() and interp1().

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

답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 14일

0 개 추천

Temperatures are not even remotely close to being linear. What kind of input do you have and what kind of output were you hoping to get? You would be on much safer grounds interpolating something cumulative such as precipitation.
Last week, the temperature here fell 38 degrees Celsius in about as many hours. It stayed that cold for about half a day and then warmed over several days. You cannot interpolate that kind of weather by examining monthly mean or highs or lows. (The difference between our summer-time high temperatures and our winter lows is about 65 degrees Celsius in a typical year.)

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

태그

질문:

2012년 2월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by