Rank: 17 based on 1880 downloads (last 30 days) and 75 files submitted

Chad Greene

The University of Texas at Austin
30.28395, -97.73235

Personal Profile:

I am interested in the floating ice shelves that fringe East Antarctica. My current work is toward building a better understanding of how climatology influences glaciology via oceanography. I also have some experience with the acoustics of gas hydrates and oceanic methane bubbles.

Homepage: www.chadagreene.com

Professional Interests:
Antarctic ice shelf dynamics, sea level rise, underwater acoustics, methane hydrates


Watch this Author's files


Files Posted by Chad View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 Oct 2014 Screenshot circlem Draw circles on maps Author: Chad Greene mapping, circles, radius, bubble map 28 0
09 Oct 2014 Screenshot fullfig Simply initialize full-screen figures Author: Chad Greene figure, gcf 35 0
30 Sep 2014 Screenshot Draw a 3D airplane Draw a very simple 3D airplane and animate it too Author: Chad Greene c130, airplane, animation, 3d, aerogeophysics 96 1
  • 5.0
5.0 | 1 rating
22 Sep 2014 Screenshot geotiffinterp Fast interpolation for georeferenced TIFF raster data. Author: Chad Greene tif, tiff, tifff, geotif, geotiff, georeferencing 48 0
02 Sep 2014 Screenshot MODIS Mosaic of Antarctica Plot satellite images, grounding lines, and coast lines of Antarctica Author: Chad Greene antarctica, glaciology, nsidc, bedmap2, satellite imagery, modis 32 0
Comments and Ratings by Chad View all
Updated File Comments Rating
22 Oct 2014 Day of year A function that computes the day number (or day of year) for any given date, Enhanced. Author: Daniel Okoh

To make this function work for arrays, change the n= line to

n = datenum([d(:,1:3), zeros(size(d,1),3)]) - datenum([d(:,1), ones(size(d,1),1),zeros(size(d,1), 4)]);

22 Oct 2014 naninterp One dimensional Interpolation over NaNs. Author: E. Rodriguez

This function works as advertised, but lacks sufficient documentation. The function may also benefit from some simple input checks and functionality could be extended with an optional input of interpolation method.

Ashley, a well-documented function which fills NaNs in 2D can be found here: http://www.mathworks.com/matlabcentral/fileexchange/4551

13 Oct 2014 Day Length Calculates the length of daylight for any day and latitude Author: Travis Wiens

This is a helpful function; thanks for sharing.

The input day format is somewhat non-user-friendly. The function header describes the input date as the "day of the year, counted starting with the day of the December solstice in the first year of a Great Year." To maintain Travis' functionality and get this function to work with Matlab's datenum format, add this to the beginning of the function:

if nargin>0 && any(Day>366)
[y,~,~] = datevec(Day);
Day = 11+datenum(Day)-datenum(y,1,1);

The above assumes that if any input date exceeds 366, it must be in datenum format. Then the function *approximates* day length assuming a static December solstice. Results will not be exact on the daily timescale, but should be sufficient to put multi-year data in datenum format in context with solar cycles.

09 Oct 2014 File Exchange syntax highlighter This userscript lets the users to view syntax-highlighted .m files in the File Exchange section. Author: Zoltan Fegyver

Fantastic. Incredibly easy to install on Firefox.

09 Oct 2014 nanmedfilt2 This MATLAB function performs median filtering of the matrix A in two dimensions while ignoring NaNs Author: Roman Voronov

This function is quite useful, and it's fast. I find that nanmedfilt2 takes roughly twice as long as the medfilt2 function found in the image processing toolbox. That's not perfect, but it's faster than any other manual solutions I have tried. I recommend changing line 9 to sz=3 to match the default 3-by-3 neighborhood of medfilt2.

Comments and Ratings on Chad's Files View all
Updated File Comment by Comments Rating
03 Oct 2014 Draw a 3D airplane Draw a very simple 3D airplane and animate it too Author: Chad Greene Cobeldick, Stephen

Based on a Lockheed C-130, but much cuter.

26 Sep 2014 nsidc_download Download data from the National Snow and Ice Data Center Author: Chad Greene sophia

i have downloaded this data but hardly able to process this.. i am working one Sea ice motion SSMI data.

22 Sep 2014 Sound Pressure Level Calculator Calculates sound pressure level in decibels, given a pressure signal in pascals. Author: Chad Greene Greene, Chad

Hi Loannis,

I would suggest thinking about where your data come from. Do you have a sensor that can measure imaginary pascals? What does the imaginary component of your measurement represent?

22 Sep 2014 Sound Pressure Level Calculator Calculates sound pressure level in decibels, given a pressure signal in pascals. Author: Chad Greene Ioannis

Hi, i would like to ask regarding the given signal. If we have real and imaginary part (in Pa) what will be the function of the SPL?

27 Aug 2014 figtitle Create a title for a figure with multiple subplots. Author: Chad Greene Richard

A similar program is suptitle.m, at:


Contact us