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.

Answered

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

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

alrededor de 8 horas ago | 0

Answered

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

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

alrededor de 8 horas ago | 0

| accepted

Answered

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

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

alrededor de 8 horas ago | 0

Answered

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

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 día ago | 0

| accepted

Answered

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

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 día ago | 0

Answered

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'),...

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 día ago | 1

Answered

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

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

3 días ago | 0

| accepted

Answered

Antarctic Mapping Tool: how can I evaluate the distance of a point from the coastline?

The easiest solution is the dist2mask function in the Antarctic boundaries add-on for AMT. Syntax is d = dist2mask('openocean'...

Antarctic Mapping Tool: how can I evaluate the distance of a point from the coastline?

The easiest solution is the dist2mask function in the Antarctic boundaries add-on for AMT. Syntax is d = dist2mask('openocean'...

4 días ago | 0

Answered

How to mask a 3-D raster using a multiple feature attribute shapefile?

Try this: mask = inpolygon(X,Y,[roi.X],[roi.Y]); You don't even need to remove the trailing nans. :)

How to mask a 3-D raster using a multiple feature attribute shapefile?

Try this: mask = inpolygon(X,Y,[roi.X],[roi.Y]); You don't even need to remove the trailing nans. :)

4 días ago | 0

Answered

how to turn netcdf into contour map

Hi Abigail, The first thing I do with a netcdf file is type ncdisp('myfile.nc') to see what's inside it. If you have some ...

how to turn netcdf into contour map

Hi Abigail, The first thing I do with a netcdf file is type ncdisp('myfile.nc') to see what's inside it. If you have some ...

4 días ago | 0

Answered

Extracting data from matrix

To only plot the ocean data, try masking out the land data by setting those values in A to NaN. like this: A(B==1) = NaN; % se...

Extracting data from matrix

To only plot the ocean data, try masking out the land data by setting those values in A to NaN. like this: A(B==1) = NaN; % se...

4 días ago | 0

| accepted

Answered

Equal Sized random assortment, using randi?

This would be one way to define how many ones and how many twos in each column before randomizing them: N_cols = 8; % number o...

Equal Sized random assortment, using randi?

This would be one way to define how many ones and how many twos in each column before randomizing them: N_cols = 8; % number o...

4 días ago | 0

Answered

PCA Graph of Data Comes Up Blank

I think you're mixing and matching different ways of defining filenames. As a result, dir is unable to find the files you're loo...

PCA Graph of Data Comes Up Blank

I think you're mixing and matching different ways of defining filenames. As a result, dir is unable to find the files you're loo...

4 días ago | 0

Answered

datestr generating different string

How about myy = 2014; mym = 1; myd = 20; datestr(datenum(myy,mym,myd),'dd/mm/yyyy')

datestr generating different string

How about myy = 2014; mym = 1; myd = 20; datestr(datenum(myy,mym,myd),'dd/mm/yyyy')

5 días ago | 0

| accepted

Answered

Three column table into matrix

I think table2array is the function you're looking for.

Three column table into matrix

I think table2array is the function you're looking for.

5 días ago | 1

Answered

How to find data points within 2% tolerance of curve

Sounds like a nice homework problem. You'll probably want to use logical indexing to find the indices of the Y data that are w...

How to find data points within 2% tolerance of curve

Sounds like a nice homework problem. You'll probably want to use logical indexing to find the indices of the Y data that are w...

6 días ago | 0

| accepted

Answered

Plotting multiple graphs from multiple ranges in excel

The easiest way is probably to read the full range of data all at once, then loop through the different ranges you want to plot....

Plotting multiple graphs from multiple ranges in excel

The easiest way is probably to read the full range of data all at once, then loop through the different ranges you want to plot....

6 días ago | 0

Answered

Getting a filter error today when yesterday didn't?

I suspect that yesterday you weren't including x in the filter. Yesterday you were filtering the d signal, which is just [1 0 0 ...

Getting a filter error today when yesterday didn't?

I suspect that yesterday you weren't including x in the filter. Yesterday you were filtering the d signal, which is just [1 0 0 ...

8 días ago | 0

Answered

How do I fix my display of the x and y values? They should be x = 1.15 and y = 3.85.

The double equals is defining x and y as a boolean. It's saying x = 1 if minimum_voltage equals acosd(B/2*A)*5/180. Let's find o...

How do I fix my display of the x and y values? They should be x = 1.15 and y = 3.85.

The double equals is defining x and y as a boolean. It's saying x = 1 if minimum_voltage equals acosd(B/2*A)*5/180. Let's find o...

9 días ago | 0

Answered

How can i create these three images in one figure?

If you're question is about how to make subplots, here's how. figure subplot(3,1,1) plot(sind(1:1e4)) subplot(3,1,2) plot...

How can i create these three images in one figure?

If you're question is about how to make subplots, here's how. figure subplot(3,1,1) plot(sind(1:1e4)) subplot(3,1,2) plot...

9 días ago | 0

Answered

How can I compute the mean value over a time interval?

Hi Anna, welcome to the forum. With these types of questions it always helps if you can provide a minimal working example. But...

How can I compute the mean value over a time interval?

Hi Anna, welcome to the forum. With these types of questions it always helps if you can provide a minimal working example. But...

13 días ago | 0

Answered

What MATLAB functions are underappreciated?

One of the most powerful functions I know of took me years from hearing about its existence to using it regularly, because it's ...

What MATLAB functions are underappreciated?

One of the most powerful functions I know of took me years from hearing about its existence to using it regularly, because it's ...

14 días ago | 3

Answered

What MATLAB functions are underappreciated?

I rarely see anyone use the lighting functions, but they're incredibly powerful and can make data come to life. They're provide ...

What MATLAB functions are underappreciated?

I rarely see anyone use the lighting functions, but they're incredibly powerful and can make data come to life. They're provide ...

14 días ago | 1

Question

What MATLAB functions are underappreciated?

Open question: What MATLAB function(s) do you wish you had discovered sooner? Are there any functions that no one talks about, b...

14 días ago | 7 answers | 4

Submitted

MODIS Mosaic of Antarctica

Plot satellite images, grounding lines, and coast lines of Antarctica

16 días ago | 15 downloads |

Answered

How to plot the point where two complicated graphs cross?

Does this do it for ya? https://www.mathworks.com/matlabcentral/fileexchange/11837-fast-and-robust-curve-intersections

How to plot the point where two complicated graphs cross?

Does this do it for ya? https://www.mathworks.com/matlabcentral/fileexchange/11837-fast-and-robust-curve-intersections

16 días ago | 0

Answered

Array indices must be positive integers or logical values.

I think this is the error t(2*pi*j/(2*d)) The first time through the loop, j=3, which means 2*pi*j/(2*d) = 0.02 It's tryin...

Array indices must be positive integers or logical values.

I think this is the error t(2*pi*j/(2*d)) The first time through the loop, j=3, which means 2*pi*j/(2*d) = 0.02 It's tryin...

17 días ago | 1

| accepted

Answered

How to create a bubble plot with Antarctic Mapping Tool

Hey @Raffaello Nardin, First off, excellent job on creating a minimal working example. That really helps me understand where y...

How to create a bubble plot with Antarctic Mapping Tool

Hey @Raffaello Nardin, First off, excellent job on creating a minimal working example. That really helps me understand where y...

17 días ago | 4

| accepted

Submitted

cmocean perceptually-uniform colormaps

Perceptually-uniform colormaps inspired by oceanography

20 días ago | 151 downloads |

Submitted

Antarctic boundaries, grounding line, and masks from InSAR

A complete MEaSUREs grounding line, coast line, and mask dataset from Mouginot et al.

20 días ago | 20 downloads |