% personal toolbox for matlab
% 
% mkbump       return a matrix containig a bump
% myhanning    hanning window at arbitrary locations
% myround      rounds number X to N significant figures
% myint2str    convert integer to string with leading zeros
% getdigit     get specified digits in a number
% mydate       returns the date and time corresponding to decimal day
% mydate2yr    converts mydate format to decimal years
% mydisp       display number without changing line
% mydetrend    remove a linear trend from vector, matrix, or array
%
% mon2num      returns number corresponding to ascii month
% num2mon      returns ascii month corresponding to number
%
% myfilter     apply same filter as decimate, but do not decimate
% mypsd        normalized psd with chi-square confidence intervals
%              (not implemented yet)
% spec2sig     convert a power spectrum to a signal
% xpolate      extra/interpolate using tony's 2-D fft method
% gpolate      inverse distance extra/interpolation
% ifftshift    move zeroth lag back to corner of matrix
% decim2       decimate a 2-D field using bin-averages
%
% rms          returns root mean square of a vector or matrix
% minmax       returns min max and mean of matrix
% mmin         returns min of matrix
% mmax         returns max of matrix
% mmean        returns mean value of matrix
% closest      returns index of closest value in vector
%
% keep         keep requested variables, clears the rest
% deg          function returns ASCII symbol for degrees
%
% read_record  read fortran record
% write_record write fortran record
%
% mypcolor     simulate pcolor using image (much faster)
% mylog        returns sign(x).*log10(abs(x)
