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

Uniformly distributed random variables

Ah, this is a fun question, because the concept it's getting at is quite common across science and engineering. The process of...

Uniformly distributed random variables

Ah, this is a fun question, because the concept it's getting at is quite common across science and engineering. The process of...

6 days ago | 1

| accepted

Answered

How to select the starting point of a curve and tare all x, y plot data to this point

Perhaps you could find the index of the location where the chage in Y exceeds some critical threshold. You'll have to manually t...

How to select the starting point of a curve and tare all x, y plot data to this point

Perhaps you could find the index of the location where the chage in Y exceeds some critical threshold. You'll have to manually t...

6 days ago | 0

| accepted

Submitted

Climate Data Toolbox for MATLAB

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

7 days ago | 301 downloads |

Answered

Contour plot of spatial distribution of temperature

The regular quarter-degree spacing of the data suggests that no interpolation is necessary for this dataset--it just needs to be...

Contour plot of spatial distribution of temperature

The regular quarter-degree spacing of the data suggests that no interpolation is necessary for this dataset--it just needs to be...

7 days ago | 0

Answered

Calculate mean of gray Value

Try this. Below I'm creating an example matrix M, and calculate the mean of only the values that exceed zero: M = peaks(100); ...

Calculate mean of gray Value

Try this. Below I'm creating an example matrix M, and calculate the mean of only the values that exceed zero: M = peaks(100); ...

11 days ago | 1

Answered

Interpolation or meshgrid...Error using matlab.internal.math.interp1

Ah, it looks like tt_sort and tt2_sort are in fact sorted, but they contain some duplicate values. The easiest way to work aroun...

Interpolation or meshgrid...Error using matlab.internal.math.interp1

Ah, it looks like tt_sort and tt2_sort are in fact sorted, but they contain some duplicate values. The easiest way to work aroun...

13 days ago | 0

Answered

Median filter for an imported Excel file (removing spikes from a signal)

For a 3-point moving median, you can medfilt1 as you suggest, like this: weg_f = medfilt1(weg,3); Or similarly, you could us...

Median filter for an imported Excel file (removing spikes from a signal)

For a 3-point moving median, you can medfilt1 as you suggest, like this: weg_f = medfilt1(weg,3); Or similarly, you could us...

14 days ago | 0

| accepted

Answered

How to extract specific parts of a matrix

Let's see if I understand what you're trying to do. As I understand it, you have a 512x512 matrix with lots of values of 98 on t...

How to extract specific parts of a matrix

Let's see if I understand what you're trying to do. As I understand it, you have a 512x512 matrix with lots of values of 98 on t...

16 days ago | 1

| accepted

Answered

Plotting the trend line without plotting the data

Or more simply, polyplot(wspd_3yr,msid_3yr) using the polyplot function found here.

Plotting the trend line without plotting the data

Or more simply, polyplot(wspd_3yr,msid_3yr) using the polyplot function found here.

17 days ago | 0

Answered

trend line plotting question

I've written a simple function called polyplot to add a linear trend line to plots. Get it on the File Exchange here.

trend line plotting question

I've written a simple function called polyplot to add a linear trend line to plots. Get it on the File Exchange here.

17 days ago | 0

Answered

How to Plot Time Series Data of a Temperature Map

Hi John, A couple of things: Location number 7 is in Antarctica! The sea surface temperature data is all NaN on land, so ave...

How to Plot Time Series Data of a Temperature Map

Hi John, A couple of things: Location number 7 is in Antarctica! The sea surface temperature data is all NaN on land, so ave...

17 days ago | 1

| accepted

Answered

Climate Data Toolbox: how can i calculate correctly a trend with trend function?

Hi Alessandro, I think you've mostly got it. One key point to note is your sampling frequency is monthly, so 12 times per year...

Climate Data Toolbox: how can i calculate correctly a trend with trend function?

Hi Alessandro, I think you've mostly got it. One key point to note is your sampling frequency is monthly, so 12 times per year...

17 days ago | 0

| accepted

Submitted

trend

Fast function for mapping trends along any dimension in 3D data.

17 days ago | 26 downloads |

Answered

Making a Map Image from a Matrix

With the Climate Data Toolbox you could do it like this: T = flipud(reshape(load('TS20040101.txt'),[72 144])); % loads, reshape...

Making a Map Image from a Matrix

With the Climate Data Toolbox you could do it like this: T = flipud(reshape(load('TS20040101.txt'),[72 144])); % loads, reshape...

29 days ago | 2

| accepted

Answered

Control Text Label on plot with categorical axis

Have you tried using the 'vertical' and 'horizontal' alignment options? plot(5,6,'o') text(5,6,'default text') text(5,6,'ab...

Control Text Label on plot with categorical axis

Have you tried using the 'vertical' and 'horizontal' alignment options? plot(5,6,'o') text(5,6,'default text') text(5,6,'ab...

1 month ago | 1

| accepted

Answered

Calculating values of a dependent variable at a using a range of independent variables

Welcome to the world of Matlab, Tom. Indeed, I think this is pretty straightforward. To make a range of values of Temp between...

Calculating values of a dependent variable at a using a range of independent variables

Welcome to the world of Matlab, Tom. Indeed, I think this is pretty straightforward. To make a range of values of Temp between...

1 month ago | 0

| accepted

Answered

Mapping sea surface temp with specific location? Struggling with geoshow function?

For 3D data cubes of things like ocean temperature, you most often need to permute the first two dimensions when reading in from...

Mapping sea surface temp with specific location? Struggling with geoshow function?

For 3D data cubes of things like ocean temperature, you most often need to permute the first two dimensions when reading in from...

1 month ago | 1

| accepted

Answered

how to fill geographic plot region with specific color?

To fill the circle, check out the markerfacecolor option in the documentation for geoplot. Alternatively, you may prefer the geo...

how to fill geographic plot region with specific color?

To fill the circle, check out the markerfacecolor option in the documentation for geoplot. Alternatively, you may prefer the geo...

1 month ago | 1

| accepted

Answered

Error with plotting a function

Try this: plot(t,(K.^(1 - (exp(t.*r.*-1)))), '-b'); I put a dot (.) before the exponents and multiplication. That turns it in...

Error with plotting a function

Try this: plot(t,(K.^(1 - (exp(t.*r.*-1)))), '-b'); I put a dot (.) before the exponents and multiplication. That turns it in...

2 months ago | 0

Answered

How to create a best fit line here?

It looks like the first x value is -Inf. Try eliminating that point from the polynomial fit, like this: p = polyfit(x(2:end),y...

How to create a best fit line here?

It looks like the first x value is -Inf. Try eliminating that point from the polynomial fit, like this: p = polyfit(x(2:end),y...

2 months ago | 0

| accepted

Answered

How do I set each legend on the curve in multiple plot?

Perhaps the issue isn't the legend, but plotting the desired colors? How about specifying the colors of the plots explicitly, li...

How do I set each legend on the curve in multiple plot?

Perhaps the issue isn't the legend, but plotting the desired colors? How about specifying the colors of the plots explicitly, li...

2 months ago | 1

Answered

How do I smooth a dataset without built in functions

It's not quite empty--it's just plotting a single point as a tiny dot. That's because you've only solved for a single point. I...

How do I smooth a dataset without built in functions

It's not quite empty--it's just plotting a single point as a tiny dot. That's because you've only solved for a single point. I...

2 months ago | 1

Submitted

crameri perceptually uniform scientific colormaps

Perceptually uniform scientific colormaps from Fabio Crameri.

2 months ago | 67 downloads |

Answered

Mapping a Coastline of the Antarctic showing different boundaries

To make maps of Antarctica, try Antarctic Mapping Tools. For melt data you might cosider my plugin for the Adusumilli ice shelf ...

Mapping a Coastline of the Antarctic showing different boundaries

To make maps of Antarctica, try Antarctic Mapping Tools. For melt data you might cosider my plugin for the Adusumilli ice shelf ...

3 months ago | 0

Submitted

Antarctic Mapping Tools

A toolbox for analysis and display of Antarctica-related data

4 months ago | 48 downloads |

Submitted

Ice Shelf Melt Rates

Melt rate data from Adusumilli et al., 2020.

6 months ago | 7 downloads |

Answered

Plotting different colored line based on condition(s)

What if you create two lines and plot them separately? x = 0:1000; y = sind(x); % duplicate: y_red = y; y_red(y>0) = ...

Plotting different colored line based on condition(s)

What if you create two lines and plot them separately? x = 0:1000; y = sind(x); % duplicate: y_red = y; y_red(y>0) = ...

6 months ago | 2

| accepted

Answered

How can I regrid a climate data model from lower resolution to higher resolution?

If you have a grid of humidity data H that correspond to the 2.5 degree resolution coordinates lat and lon, then you just need t...

How can I regrid a climate data model from lower resolution to higher resolution?

If you have a grid of humidity data H that correspond to the 2.5 degree resolution coordinates lat and lon, then you just need t...

6 months ago | 1