IDL code to Matlab

3 visualizaciones (últimos 30 días)
Ivy  Lang'at
Ivy Lang'at el 31 de Jul. de 2018
Comentada: Rik el 31 de Jul. de 2018
I am a first time matlab user trying to extract some data of which i have instructions in IDL. please translate the following to the matlab equivalent:
R = Get_kbrd()
precip[where(precip eq missing_value)] = !VALUES.F_NAN
GHA_lon = where(lon ge 30. AND lon le 52.)
nt = n_elements(time),
bplot = BARPLOT,
FILL_COLOUR= avM = fltarr(10000)
ri = 115*randomu(1234,10000,15)
avM[i] = mean(zGHA[ri[i,*]])
avM = avM[sort(avM)]
p5th = avM[0.05*9999]
p95th = avM[0.95*9999]
splot = PLOT(years15,replicate(p5th,nt-15),thick=3,/OVERPLOT)
  1 comentario
Rik
Rik el 31 de Jul. de 2018
Have a read here (or here for more general advice) and here. It will greatly improve your chances of getting an answer.
Learning the tool you're working with is always worth it.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots 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