Some of the more useful code I have created can be found here, however I also have a repository on GitHub that has much more code.
uniq_2d.pro
path_xy_2_lines.pro
nearest_neighbor_interpol.pro
matlab_zscore.pro
matlab_xcorr.pro
matlab_window.pro
matlab_pwelch.pro
matlab_pwelch_v02.pro
matlab_psdfreqvec.pro
matlab_histc.pro
matlab_fft.pro
matlab_datawrap.pro
matlab_computepsd.pro
matlab_computeperiodogram.pro
matlab_computedft.pro
matlab_accumarray.pro
kwmap_2points.pro
kw_regress.pro
kw_line_join.pro
kw_histogram.pro
kw_finite_diff.pro
grid_box_areas.pro
finite_diff_coefficient.pro
filter_structure.pro
earth_radius.pro