# Chad Greene

### NASA Jet Propulsion Laboratory

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 Note: I will not do your homework for you and I will not respond to emails directing me to a question posed on the Answers forum.

**Statistics**

RANK**37**

of 262,908

REPUTATION**4,742**

CONTRIBUTIONS

**88** Questions

**1,017** Answers

ANSWER ACCEPTANCE **
57.95%
**

VOTES RECEIVED**2,160**

RANK**17** of 17,995

REPUTATION**27,178**

AVERAGE RATING**4.70**

CONTRIBUTIONS**176** Files

DOWNLOADS **1592**

ALL TIME DOWNLOADS**233972**

RANK

of 113,880

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Boundary/polygon around coastline of Greenland

I've just added a 'gl' option to plot Greenland's grounding line using BedMachine's mask. https://github.com/chadagreene/BedMach...

5 months ago | 1

Question

Unfamiliar .D0 number syntax

I've inherited some Matlab code that was previously adapted from Fortran, and the Matlab code has a syntax I'm not familiar with...

5 months ago | 1 answer | 0

### 1

answerSubmitted

Arctic Mapping Tools

Or: Antarctic Mapping Tools for Matlab, Greenland Edition

8 months ago | 22 downloads |

Question

XData and YData from area chart

I'm using the area function to create a stacked area chart of hundreds of time series. After plotting my data via h = area(t,Y...

10 months ago | 1 answer | 0

### 1

answerCan anyone help me with the a tentative guide on how to average across the two dimensions of a 3d array, and loop it across 86 timesteps?

If you have a temperature data cube T whose dimensions correspond to lat x lon x time, the simplest way to get an 86x1 array of ...

10 months ago | 1

| accepted

Better “centerpoint” than centroid of a concave polygon

I added a polycenter function to do exactly what you need in the Climate Data Toolbox for Matlab. If you have a shapefile, the...

10 months ago | 0

What should go in a next-generation MATLAB X?

If I could design Matlab from scratch I'd get rid of semicolons to suppress output, and make element-wise operations the def...

10 months ago | 0

What should go in a next-generation MATLAB X?

I'd like to define ranges using square brackets for inclusive and rounded brackets for exclusive. So insead of if x>=20 & x<30...

10 months ago | 0

How can I convert a shapefile boundaries to lat and lon?

If it's a standard map projection, use projinv.

11 months ago | 0

| accepted

How to find a figure's centroid inside a polyshape?

Also answered here, but reposting my answer in case anyone stumbles upon this thread. I just ran into this problem when trying...

11 months ago | 0

Better “centerpoint” than centroid of a concave polygon

I just ran into this problem when trying to place a text label in the middle of a crescent-shaped ice shelf. The centroid or the...

11 months ago | 1

Stereographic plot of Sea Surface Temperature Data around Antarctica.

Hi Ravi, There are a couple of ways to do this. Here's one way: Turn your vectors of latitude,longitude coordinates into 2D ...

11 months ago | 0

Submitted

gridbin

A MATLAB function for gridding large datasets of scattered data.

12 months ago | 7 downloads |

Submitted

fast-ice

Matlab functions for loading Alex Fraser's fast ice dataset.

1 year ago | 1 download |

plot using latitude and longitude

That looks like you have scattered data. If you have an array of latitudes, an array of longitudes, and a corresponding array of...

1 year ago | 0

| accepted

polybuffer distance in meters?

I think you've got it right, Alex, but this calls for an explanation of the phrase numeric scalar. The word numeric just means a...

1 year ago | 1

| accepted

ploting 2d graph of a vector

You've pretty much got it, but you'll need to define a range of t values, and a value for the constants A, and B. You also need ...

1 year ago | 0

| accepted

Submitted

Climate Data Toolbox for MATLAB

A set of low-level functions and tutorials for analyzing and displaying Earth science data.

1 year ago | 205 downloads |

Specific color corresponding to specific data using contourf colormap

Perhaps @Kelly Kearney's contourfcmap is what you need?

1 year ago | 0

Make a vector plot of the velocity field in polar coordinates

Can you use cart2pol to convert the coordinates and vector components to polar coordinates?

1 year ago | 0

Why ?? Undefined function 'crosscorr' for input arguments of type 'double'.

crosscorr is part of the econ toolbox. If you don't have that toolbox, you can probably rewrite your code to use xcorr instead. ...

1 year ago | 0

Fit data recorded with different internal clocks

This is an interesting problem. If you can identify a few peaks that occur throughout the 600 s measurement, and those peaks are...

1 year ago | 0

| accepted

How to create map with [x;y] coordinates? Mapping toolbox

No guaratees on the accuracy of the attached functions, but you may be able to convert between lat,lon and x,y using the attache...

1 year ago | 0

| accepted

How can i solve for this issue with the logical flow

I think the error is here: term3=q(i-1)*((r(i)-dr)/r(i)*dr); The first time through the loop, i=1, meaning i-1=0. There is no...

1 year ago | 0

| accepted

Adding line change the size of the image

Can you get the axis limits before plotting the lines, and then set the axis back to those limits afterwards? Something like thi...

1 year ago | 0

Color along line in polaraxes

What if you interpolate along a dense line and plot with polarscatter? I'm thinking something like this: theta = linspace(0,...

1 year ago | 0

| accepted

How to make a surface plot of imported data of a numerical function z=f(x,y)

Just to be clear, you already have the data, and it takes this form M = [x y z]; where x, y, and z are columns? My next qu...

1 year ago | 0

time position in graphic

This question is pretty vague, but here's pi displayed at the bottom right corner of a plot: txt = text(1,0,num2str(pi,'%4i'),...

1 year ago | 1

| accepted

I have a climatic dataset of a region where I am calculating time series (for drought index). The dimension of the dataset is 164*153*1416 (1416 months in the dataset and the others are the location). How I can average this over space and time?

To get a map of average SPEI, SPEI_mean = mean(SPEI,3,'omitnan'); and that calculates the mean along the third dimension (ti...

1 year ago | 0

| accepted