interpolate monthly values to daily

13 visualizaciones (últimos 30 días)
Yasmine
Yasmine el 14 de Feb. de 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 comentario
the cyclist
the cyclist el 14 de Feb. de 2012
I won't write your code for you, but two functions that you will find useful are datenum() and interp1().

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Feb. de 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.)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by