JEG Banner

 

 

Here is some Matlab code I wrote (or adapted) to perform various tasks.

Few of it can hardly be called "rocket science", but i spent enough days on it than it would warm my heart to know you won't have to waste as much as i did.

DATA ANALYSIS

EOF analysis

Singular Spectrum Analysis

Centering and standardization of matrices

Pattern Correlation

Distribution given number of bins

Anomalies&Climatology

Anomaly for timeseries

ELEMENTARY MATHEMATICS

Taper based on the Hyperbolic Tangent function

Zonal integral, zonal average on the sphere

MAPPING (download M_Map package first)

Improved Figure command (from Aslak Grinsted)

Maps on the sphere

Stereographic projection map

contourpm_white

Gorgeous contour map with (+,0,-) contours in white.

COLORMAPS

cejulien.m cejulien2.m bluewhitered.m

(usage : colormap(bluewhitered) after a contour plot, for instance)

Useful Matlab resources :

M_Map package by Rich Pawlowicz (AWESOME... a lot of my mapping routines directly use his)

Gerd Krahman's matlab page    

Mathtools, Mathworks Central File Exchange