interpolate monthly values to daily

13 Ansichten (letzte 30 Tage)
Yasmine
Yasmine am 14 Feb. 2012
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 Kommentar
the cyclist
the cyclist am 14 Feb. 2012
I won't write your code for you, but two functions that you will find useful are datenum() and interp1().

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 14 Feb. 2012
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.)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by