# 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**39**

of 271 028

REPUTATION**4 789**

CONTRIBUTIONS

**96** Questions

**1 022** Answers

ANSWER ACCEPTANCE **
55.21%
**

VOTES RECEIVED**2 179**

RANK**15** of 18 282

REPUTATION**27 959**

AVERAGE RATING**4.70**

CONTRIBUTIONS**177** Files

DOWNLOADS **2052**

ALL TIME DOWNLOADS**240056**

RANK

of 119 692

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**

Question

Opening multiple instances of MATLAB causes endless folder access errors

Whenever I try to open two instances of MATLAB, I run into an endless loop of error windows. For example, if I'm running 2022b a...

11 dagar ago | 1 answer | 0

### 1

answerQuestion

Text in editor window suddenly vanishes in R2022b.

I've run into lots of strange behavior using R2022a and R2022b on my MacOS Monterey 12.6.1, and until now it's been mostly just ...

12 dagar ago | 1 answer | 0

### 1

answerQuestion

Missing text objects when exporting graphics in R2022b

Since upgrading to R2022b, I've repeatedly run into an inssue in which text objects, legends, titles, etc do not get printed, or...

18 dagar ago | 1 answer | 0

### 1

answerChanging the orientation Arctic Projection maps

I typically bypass the Matlab Mapping Toolbox for stereographic projections, because the functions are kind of clunky and slow. ...

20 dagar ago | 0

Extract coordinates from a geopolyshape

@Sergey Kostrukov I think I found a working solution. The m_shaperead function in M_Map can handle PolygonZ and PolyLineZ data. ...

20 dagar ago | 0

Duplicating an entire vector

You almost got it. Try repmat(A,[1 3])

20 dagar ago | 0

| accepted

Question

How to read modern shapefile data

It seems increasingly common these days that data providers are saving shapefile data as PolygonZ or PolyLineZ data, rather than...

20 dagar ago | 1 answer | 1

### 1

answerQuestion

Glitchy Command Window behavior in R2022a and R2022b

I've got a MacOS 12.6.1, and I've noticed since I upgraded to R2022a that the cursor in the Command Window no longer behaves pre...

26 dagar ago | 0 answers | 2

### 0

answersQuestion

parpool failed to start

I'm trying to start a parallel pool in Matlab 2020b, but the pool repeatedly fails to start. Can anyone offer any guidance? Here...

3 månader ago | 0 answers | 0

### 0

answersQuestion

calling a built-in private function

I'm using stream2 for a big problem that takes about a week to run on a high-performance computer. The profiler tells me that mo...

3 månader ago | 1 answer | 0

### 1

answerMapshow : attribute colors to polygons according to ID

Try this. Define a list of colors, and plot each gridcode region seperately. climate = shaperead('c1976_2000.shp'); % List...

3 månader ago | 0

| accepted

Is it possible to define colormap ranges or merge colormaps?

Try concatenating colormaps, like this. Below I'm using my cmocean colormaps, which are available on File Exchange, but you can ...

3 månader ago | 1

| accepted

Question

stream2 fails if coordinates are single precision?

I've encountered a strange behavior with stream2 which fails silently if any input coordinates are single precision. It looks li...

3 månader ago | 0 answers | 0

### 0

answersBoundary/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...

8 månader 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...

9 månader ago | 1 answer | 0

### 1

answerQuestion

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...

ungefär ett år 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 ...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år ago | 0

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

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

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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 ...

ungefär ett år ago | 0

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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år ago | 0

| accepted

Specific color corresponding to specific data using contourf colormap

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

mer än ett år 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?

mer än ett år 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. ...

mer än ett år ago | 0