Moving Average Differences (MAD) Boundary Analysis Method
Description
This dataset contains a single Matlab script and two testing data files in DAT format. The script (madb.m) carries out Moving Average Differences (MAD) boundary analysis method we have recently been studying on. The detailed information about the usage of the script is explained within the code as comments. The two data files contain artificial Bouguer gravity anomalies from two different buried block models in gridded ASCII format. The "slabs.dat" has an anomaly created from two ramps next to each other, and the "sixprisms.dat" contains six prisms that have various sizes and depths. The data can be loaded into Matlab using "load" command and is ready to be used with the "madb.m" function.
Files
Steps to reproduce
----INPUTS---- data: Gridded potential field data. Should be a matrix, not [X,Y,Z]. ws: Window Size of the moving average filterin. Use odd numbers as full window size, larger than 3 and smaller than half the data size. ----OUTPUT---- %out: Result of the analysis that have the same size as input data. ----EXAMPLE gravity = load('slabs.dat'); %load the data and store it into a variable. md = madb(gravity,15), %where gravity is a gridded data in matrix form. contourf(md,30,'linestyle','none'); %plot the results as contours.